[FEATURE] 修改增加attr,用于获取request的Attribute
[FEATURE] add TemplateResult to support template engines