From 1d53007bf77f47107bb4b7813837fcbdc1265415 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Mon, 13 Jun 2022 12:42:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=83=8C=E5=8C=85=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BB=A3=E7=A0=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/pack/module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pack/module.go b/modules/pack/module.go index e4b58e669..43847c076 100644 --- a/modules/pack/module.go +++ b/modules/pack/module.go @@ -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) }