上传红点协议

This commit is contained in:
liwei1dao 2024-02-23 14:00:03 +08:00
parent ca40bc579c
commit 424ee73fb5

View File

@ -71,6 +71,10 @@ func (this *apiComp) Get(session comm.IUserSession, req *pb.ReddotGetReq) (errda
for _, v := range this.module.ModuleUser.Reddot(session, reds) {
reddotItem = append(reddotItem, v)
}
if len(reddotItem) > 0 {
session.SendMsg(string(this.module.GetType()), "change", &pb.ReddotChangePush{Rids: reddotItem})
}
})
// for _, rid := range req.Rids {