工会任务红点
This commit is contained in:
parent
c68217f47d
commit
32e1c43c2c
@ -360,13 +360,20 @@ func (this *Sociaty) BuriedsNotify(session comm.IUserSession, conds []*pb.ConIPr
|
||||
log.Debug("公会任务通知",
|
||||
log.Field{Key: "uid", Value: session.GetUserId()},
|
||||
log.Field{Key: "condIds", Value: conds})
|
||||
|
||||
ok := false
|
||||
for _, v := range conds {
|
||||
if v.State == pb.BuriedItemFinishState_buried_finish {
|
||||
ok = true
|
||||
}
|
||||
}
|
||||
if ok {
|
||||
session.SendMsg(string(comm.ModuleReddot), "change", &pb.ReddotChangePush{Rids: []*pb.ReddotItem{
|
||||
{
|
||||
Rid: int32(comm.Reddot15301),
|
||||
Activated: true,
|
||||
},
|
||||
}})
|
||||
}
|
||||
}
|
||||
|
||||
func (this *Sociaty) RpcUpdateUserTask(ctx context.Context, p *TaskParams, reply *pb.EmptyResp) error {
|
||||
|
Loading…
Reference in New Issue
Block a user