工会任务推送优化
This commit is contained in:
parent
d247d3e723
commit
1d4c478bd8
@ -596,7 +596,7 @@ func (this *Buried) trigger(session comm.IUserSession, burieds ...*pb.BuriedPara
|
||||
} else {
|
||||
this.wtask.BuriedsNotify(session, changes)
|
||||
this.smithy.BuriedsNotify(session, changes)
|
||||
this.sociaty.BuriedsNotify(session, changes)
|
||||
// this.sociaty.BuriedsNotify(session, changes)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -186,6 +186,9 @@ func (this *PushGiftbag) BuriedsNotify(session comm.IUserSession, condis []*pb.C
|
||||
if len(item) > 0 {
|
||||
info.Item = append(info.Item, item...)
|
||||
}
|
||||
this.model.Change(session.GetUserId(), map[string]interface{}{
|
||||
"item": info.Item,
|
||||
})
|
||||
session.SendMsg(string(this.GetType()), "chanage", &pb.PushGiftbagChanagePush{Item: info.Item})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user