From 05b935a22a5f2494ca17db8bb2af115b6a80a38c Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 25 May 2023 15:00:33 +0800 Subject: [PATCH] =?UTF-8?q?134=20=E5=9F=8B=E7=82=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/library/api_usegift.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/library/api_usegift.go b/modules/library/api_usegift.go index 821deecb6..9e2cf8e0f 100644 --- a/modules/library/api_usegift.go +++ b/modules/library/api_usegift.go @@ -160,10 +160,8 @@ func (this *apiComp) UseGift(session comm.IUserSession, req *pb.LibraryUseGiftRe var szTask []*comm.TaskParam szTask = append(szTask, comm.GettaskParam(comm.Rtype132, 1, _heroObj.Favorlv)) szTask = append(szTask, comm.GettaskParam(comm.Rtype133, _heroObj.Favorlv, utils.ToInt32(_heroObj.Heroid))) - szTask = append(szTask, comm.GettaskParam(comm.Rtype134, utils.ToInt32(_heroObj.Heroid), upLv)) + szTask = append(szTask, comm.GettaskParam(comm.Rtype134, upLv)) go this.module.ModuleRtask.TriggerTask(session.GetUserId(), szTask...) - // this.module.ModuleRtask.SendToRtask(session, comm.Rtype134, utils.ToInt32(_heroObj.Heroid), upLv) - //go this.module.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype134, utils.ToInt32(_heroObj.Heroid), upLv)) } return