From 75bcd50e851e98fef3d8b5c09cd6287fa511fdd7 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Thu, 8 Jun 2023 12:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=A5=96=E5=8A=B1=E4=B8=8A?= =?UTF-8?q?=E6=8A=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/pay_manager.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/app/common/pay_manager.lua b/lua/app/common/pay_manager.lua index 39452f0e..528c3f58 100644 --- a/lua/app/common/pay_manager.lua +++ b/lua/app/common/pay_manager.lua @@ -167,7 +167,8 @@ function PayManager:requestRewards(purchaseToken, orderId, originOrderId, notSho end) for _, info in ipairs(biPayGetInfo) do - BIReport:postPayGet(info.giftType, info.giftId, info.rechargeId, orderId, originOrderId, 1, msgData.rewards or {}) + local giftType = PayManager:getGiftType(info.giftType, info.giftId) + BIReport:postPayGet(giftType, info.giftId, info.rechargeId, orderId, originOrderId, 1, msgData.rewards or {}) local rechargeCfg = ConfigManager:getConfig("recharge")[info.rechargeId] if rechargeCfg then BIReport:postPurchase(rechargeCfg.price, rechargeCfg.payId, originOrderId, orderId)