Refine the base bean.

This commit is contained in:
zicla
2019-04-28 01:29:13 +08:00
parent aaf7578290
commit e043b6b8d7
16 changed files with 36 additions and 36 deletions

View File

@ -10,14 +10,14 @@ import (
)
type BaseController struct {
Bean
BaseBean
userDao *UserDao
sessionDao *SessionDao
}
func (this *BaseController) Init() {
this.Bean.Init()
this.BaseBean.Init()
//手动装填本实例的Bean.
b := core.CONTEXT.GetBean(this.userDao)