支付奖励上报修复

This commit is contained in:
xiekaidong 2023-06-08 12:06:03 +08:00
parent ba2903a60f
commit 75bcd50e85

View File

@ -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)