支付奖励上报修复
This commit is contained in:
parent
ba2903a60f
commit
75bcd50e85
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user