From 1b4e0ccaa4aa8b9efbb10846449b7266f451424a Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Thu, 10 Nov 2022 10:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E4=BB=BB=E5=8A=A1=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E8=BE=BE=E6=88=90=E7=9A=84=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/rtask/module.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/rtask/module.go b/modules/rtask/module.go index 43491089d..2ea9ea485 100644 --- a/modules/rtask/module.go +++ b/modules/rtask/module.go @@ -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 {