红点入口

This commit is contained in:
meixiongfeng 2022-12-01 19:18:16 +08:00
parent f13da1c932
commit 445c01521d

View File

@ -47,9 +47,17 @@ func (this *apiComp) GetAll(session comm.IUserSession, req *pb.ReddotGetAllReq)
for k, v := range this.module.sociaty.Reddot(session, comm.Reddot3, comm.Reddot29) { for k, v := range this.module.sociaty.Reddot(session, comm.Reddot3, comm.Reddot29) {
reddot[int32(k)] = v reddot[int32(k)] = v
} }
// for k, v := range this.module.mail.Reddot(session, comm.Reddot26) { for k, v := range this.module.mail.Reddot(session, comm.Reddot26, comm.Reddot30) {
// reddot[int32(k)] = v reddot[int32(k)] = v
// } }
for k, v := range this.module.viking.Reddot(session, comm.Reddot31) {
reddot[int32(k)] = v
}
for k, v := range this.module.hunting.Reddot(session, comm.Reddot32) {
reddot[int32(k)] = v
}
session.SendMsg(string(this.module.GetType()), "getall", &pb.ReddotGetAllResp{Reddot: reddot}) session.SendMsg(string(this.module.GetType()), "getall", &pb.ReddotGetAllResp{Reddot: reddot})
return return
} }