From ae544d1f3db8df743361661348de1db5c182ee3b Mon Sep 17 00:00:00 2001 From: chenxi Date: Tue, 20 Jun 2023 14:52:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E6=9C=8D=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 = {