Simplify all the context link.

This commit is contained in:
zicla
2018-11-29 17:41:18 +08:00
parent 0d918fbb69
commit cb96b18579
24 changed files with 124 additions and 126 deletions

View File

@ -13,8 +13,8 @@ type UserController struct {
}
//初始化方法
func (this *UserController) Init(context *Context) {
this.BaseController.Init(context)
func (this *UserController) Init() {
this.BaseController.Init()
}
//注册自己的路由。