diff --git a/modules/reddot/api_get.go b/modules/reddot/api_get.go index d511d54f9..37c3a5bbc 100644 --- a/modules/reddot/api_get.go +++ b/modules/reddot/api_get.go @@ -29,7 +29,7 @@ func (this *apiComp) Get(session comm.IUserSession, req *pb.ReddotGetReq) (errda // } //主线 case comm.Reddot24101: - for k, v := range this.module.mline.Reddot(session, _rid) { + for k, v := range this.module.mainline.Reddot(session, _rid) { reddot[int32(k)] = v } //铁匠铺 diff --git a/modules/reddot/api_getall.go b/modules/reddot/api_getall.go index 05596d0fc..c71135548 100644 --- a/modules/reddot/api_getall.go +++ b/modules/reddot/api_getall.go @@ -36,7 +36,7 @@ func (this *apiComp) GetAll(session comm.IUserSession, req *pb.ReddotGetAllReq) } //主线 - for k, v := range this.module.mline.Reddot(session, comm.Reddot24101) { + for k, v := range this.module.mainline.Reddot(session, comm.Reddot24101) { reddot[int32(k)] = v } //铁匠铺 diff --git a/modules/reddot/module.go b/modules/reddot/module.go index 0d7392025..6d229b32f 100644 --- a/modules/reddot/module.go +++ b/modules/reddot/module.go @@ -38,7 +38,7 @@ type Reddot struct { guildgve comm.IGuildgve //工会boos战 api_comp *apiComp - mline comm.IMline + mainline comm.IMainline } // 模块名 @@ -56,10 +56,10 @@ func (this *Reddot) Start() (err error) { err = this.ModuleBase.Start() var module core.IModule - if module, err = this.service.GetModule(comm.ModuleMline); err != nil { + if module, err = this.service.GetModule(comm.ModuleMainline); err != nil { return } - this.mline = module.(comm.IMline) + this.mainline = module.(comm.IMainline) if module, err = this.service.GetModule(comm.ModuleSmithy); err != nil { return }