关闭任务条件达成的推送
This commit is contained in:
parent
1f17b9ffe0
commit
1b4e0ccaa4
@ -269,12 +269,12 @@ func (this *ModuleRtask) SendToRtask(session comm.IUserSession, rtaskType comm.T
|
||||
//任务完成则推送
|
||||
if code := this.CheckCondi(uid, v.cfg.Id); code == pb.ErrorCode_Success {
|
||||
//任务条件达成推送
|
||||
if err := this.SendMsgToUser("taskcond", "finished", &pb.TaskcondFinishedPush{
|
||||
CondId: v.cfg.Id,
|
||||
}, uid); err != nil {
|
||||
log.Errorf("任务条件达成推送失败 err:%v", err)
|
||||
}
|
||||
log.Errorf("任务条件达成 uid:%v condId:%v", uid, v.cfg.Id)
|
||||
// if err := this.SendMsgToUser("taskcond", "finished", &pb.TaskcondFinishedPush{
|
||||
// CondId: v.cfg.Id,
|
||||
// }, uid); err != nil {
|
||||
// log.Errorf("任务条件达成推送失败 err:%v", err)
|
||||
// }
|
||||
// log.Errorf("任务条件达成 uid:%v condId:%v", uid, v.cfg.Id)
|
||||
module, err := this.service.GetModule(comm.ModuleWorldtask)
|
||||
if err == nil {
|
||||
if worldtask, ok := module.(comm.IWorldtask); ok {
|
||||
|
Loading…
Reference in New Issue
Block a user