添加注入模板的自定义参数等信息

def render_string(self, template_name, **kwargs):
        """
            添加注入模板的自定义参数等信息
        """
        if hasattr(self, "session"): kwargs["session"] = self.session
        return super(BaseHandler, self).render_string(template_name, **kwargs)