优化数据模型脚本

This commit is contained in:
liwei1dao 2022-06-30 18:43:10 +08:00
parent 45478668fd
commit 8b2628339a

View File

@ -1,7 +1,6 @@
package modules
import (
"go_dreamfactory/lego/base"
"go_dreamfactory/lego/core"
"go_dreamfactory/lego/core/cbase"
"go_dreamfactory/lego/sys/log"
@ -21,8 +20,6 @@ type MCompConfigure struct {
//组件初始化接口
func (this *MCompConfigure) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
err = this.ModuleCompBase.Init(service, module, comp, options)
this.S = service.(base.IRPCXService)
this.M = module.(IModule)
err = this.LoadConfigure(game_global, cfg.NewGame_global)
return
}