diff --git a/modules/reddot/api_getall.go b/modules/reddot/api_getall.go index 824e12633..7d522f985 100644 --- a/modules/reddot/api_getall.go +++ b/modules/reddot/api_getall.go @@ -42,9 +42,9 @@ func (this *apiComp) GetAll(session comm.IUserSession, req *pb.ReddotGetAllReq) for k, v := range this.module.gourmet.Reddot(session, comm.Reddot20, comm.Reddot21, comm.Reddot22) { reddot[int32(k)] = v } - for k, v := range this.module.mail.Reddot(session, comm.Reddot26) { - reddot[int32(k)] = v - } + // for k, v := range this.module.mail.Reddot(session, comm.Reddot26) { + // reddot[int32(k)] = v + // } session.SendMsg(string(this.module.GetType()), "getall", &pb.ReddotGetAllResp{Reddot: reddot}) return } diff --git a/modules/reddot/module.go b/modules/reddot/module.go index 4434a3c99..82b609e12 100644 --- a/modules/reddot/module.go +++ b/modules/reddot/module.go @@ -26,8 +26,8 @@ type Reddot struct { horoscope comm.IHoroscope arena comm.IArena gourmet comm.IGourmet - mail comm.Imail - api_comp *apiComp + // mail comm.Imail + api_comp *apiComp } //模块名 @@ -68,10 +68,10 @@ func (this *Reddot) Start() (err error) { return } this.gourmet = module.(comm.IGourmet) - if module, err = this.service.GetModule(comm.ModuleMail); err != nil { - return - } - this.mail = module.(comm.Imail) + // if module, err = this.service.GetModule(comm.ModuleMail); err != nil { + // return + // } + // this.mail = module.(comm.Imail) return }