修复红点
This commit is contained in:
parent
5e87336c24
commit
9c1b873a97
@ -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
|
||||
}
|
||||
//铁匠铺
|
||||
|
@ -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
|
||||
}
|
||||
//铁匠铺
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user