From 16eace7d4c2748f5280c44c665a21e41ac1283cb Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 4 Apr 2023 16:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E5=85=85=E5=80=BC):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=85=E5=80=BC=E5=9B=9E=E8=B0=83=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=95=B0=E6=95=B0=E8=AE=B0=E5=BD=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/orderService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game-server/app/services/orderService.ts b/game-server/app/services/orderService.ts index 0cb18997d..85de95d59 100644 --- a/game-server/app/services/orderService.ts +++ b/game-server/app/services/orderService.ts @@ -230,8 +230,8 @@ export async function settleOrder(order: UserOrderModelType, serverId: number, s await addVipRechargeMoney(order.roleId, serverId, order.price); await addGuildPay(result.roleInfo, order.price) //成长任务 - await checkTask(serverId, order.roleId, sid, TASK_TYPE.ACTIVITY_RMB, { count: order.price }); - if(order.payType != PAY_TYPE.TEST) { + checkTask(serverId, order.roleId, null, TASK_TYPE.ACTIVITY_RMB, { count: order.price }); + if(order.payType != PAY_TYPE.TEST) { reportTAEvent(order.roleId, TA_EVENT.RECHARGE_SUCCESS, { pay_id: order.localOrderID, charge_id: order.productID, pay_name: order.message, pay_amount: order.price, pay_channel: order.payType, pay_type: order.useVoucher? "现金": "代金券" }) reportTAUserSet(TA_USERSET_TYPE.SET_ONCE, order.roleId, { first_pay_time: new Date() }); reportTAUserSet(TA_USERSET_TYPE.SET, order.roleId, { last_pay_time: new Date() });