From 445c01521db2c87cec12de8efc956c86e5b9ce03 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 1 Dec 2022 19:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E7=82=B9=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/reddot/api_getall.go | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/reddot/api_getall.go b/modules/reddot/api_getall.go index d6b8eda7a..502c07823 100644 --- a/modules/reddot/api_getall.go +++ b/modules/reddot/api_getall.go @@ -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) { 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, comm.Reddot30) { + 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}) return }