diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 8885d10b..be24bb79 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -23,6 +23,7 @@ BIReport.PAY_OPT_TYPE = { CLICK = "Click", BUY = "Buy", REWARD = "Reward", + APPLE_REVIEW_REWARD = "AppleReviewReward", CANCEL = "Cancel", FAILED = "Failed", INIT_SUC = "InitSuc", @@ -727,7 +728,6 @@ end -- -- 获得购买物品 function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, buyNum, rewards) - -- local itemStr = GFunc.getRewardsStr(rewards) local args = { gift_type = giftType, commodity_id = id, @@ -736,6 +736,9 @@ function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, b recharge_id = rechargeId, 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) if EDITOR_MODE then @@ -751,7 +754,6 @@ function BIReport:postPayGet(giftType, id, rechargeId, orderId, originOrderId, b end end - -- 登录成功 function BIReport:postAccountLoginFinish(loginType) local args = {