上传红点协议
This commit is contained in:
parent
ca40bc579c
commit
424ee73fb5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user