Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
func (*BaseController) ViewData ¶
func (b *BaseController) ViewData(data map[string]interface{})
ViewData notice:/视图根目录/控制器名称/方法名称.html,可传返回前端的数据
func (*BaseController) ViewTpl ¶
func (b *BaseController) ViewTpl(tpl string)
ViewTpl notice:/视图根目录/控制器名称/指定名称.html
func (*BaseController) ViewTplData ¶
func (b *BaseController) ViewTplData(tpl string, data map[string]interface{})
ViewTplData notice:/视图根目录/控制器名称/指定名称.html,可传返回前端的数据
Click to show internal directories.
Click to hide internal directories.