修复背包模块代码错误

This commit is contained in:
liwei1dao 2022-06-13 12:42:34 +08:00
parent 83b33c1d85
commit 1d53007bf7

View File

@ -41,8 +41,8 @@ func (this *Pack) Init(service core.IService, module core.IModule, options core.
func (this *Pack) OnInstallComp() {
this.ModuleBase.OnInstallComp()
this.api_comp = this.RegisterComp(new(Api_Comp)).(*Api_Comp)
this.cache_comp = this.RegisterComp(new(Api_Comp)).(*Cache_Comp)
this.db_comp = this.RegisterComp(new(Api_Comp)).(*DB_Comp)
this.cache_comp = this.RegisterComp(new(Cache_Comp)).(*Cache_Comp)
this.db_comp = this.RegisterComp(new(DB_Comp)).(*DB_Comp)
this.configure_comp = this.RegisterComp(new(Configure_Comp)).(*Configure_Comp)
}