审核服上报

This commit is contained in:
chenxi 2023-06-20 14:52:35 +08:00
parent 6f33fc030a
commit ae544d1f3d

View File

@ -23,6 +23,7 @@ BIReport.PAY_OPT_TYPE = {
CLICK = "Click", CLICK = "Click",
BUY = "Buy", BUY = "Buy",
REWARD = "Reward", REWARD = "Reward",
APPLE_REVIEW_REWARD = "AppleReviewReward",
CANCEL = "Cancel", CANCEL = "Cancel",
FAILED = "Failed", FAILED = "Failed",
INIT_SUC = "InitSuc", INIT_SUC = "InitSuc",
@ -727,7 +728,6 @@ end
-- -- 获得购买物品 -- -- 获得购买物品
function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, buyNum, rewards) function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, buyNum, rewards)
-- local itemStr = GFunc.getRewardsStr(rewards)
local args = { local args = {
gift_type = giftType, gift_type = giftType,
commodity_id = id, commodity_id = id,
@ -736,6 +736,9 @@ function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, b
recharge_id = rechargeId, recharge_id = rechargeId,
event_type = BIReport.PAY_OPT_TYPE.REWARD, event_type = BIReport.PAY_OPT_TYPE.REWARD,
} }
if GFunc.isShenhe() then
args.event_type = BIReport.PAY_OPT_TYPE.APPLE_REVIEW_REWARD
end
self:report(EVENT_NAME_PAY_OPT, args) self:report(EVENT_NAME_PAY_OPT, args)
if EDITOR_MODE then if EDITOR_MODE then
@ -751,7 +754,6 @@ function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, b
end end
end end
-- 登录成功 -- 登录成功
function BIReport:postAccountLoginFinish(loginType) function BIReport:postAccountLoginFinish(loginType)
local args = { local args = {