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

@ -4,14 +4,14 @@ import "github.com/eyebluecn/tank/code/core"
//@Service
type SessionService struct {
Bean
BaseBean
userDao *UserDao
sessionDao *SessionDao
}
//初始化方法
func (this *SessionService) Init() {
this.Bean.Init()
this.BaseBean.Init()
//手动装填本实例的Bean. 这里必须要用中间变量方可。
b := core.CONTEXT.GetBean(this.userDao)