From 0988c472598d997a6af305d2f16a9b27a5ea356e Mon Sep 17 00:00:00 2001 From: chenxi Date: Mon, 19 Jun 2023 09:56:07 +0800 Subject: [PATCH] =?UTF-8?q?adjust=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 12 ++++++------ lua/app/module/login/login_manager.lua | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 48046268..cdbd7bce 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -221,14 +221,14 @@ function BIReport:setIsNewPlayer(isNewPlayer) end -- adjust -function BIReport:postAdjustSimpleTrackEvent(eventName, eventValue) +function BIReport:postAdjustSimpleTrackEvent(eventName) if not Platform:getIsPublishChannel() or EDITOR_MODE then return end - if not eventName or not eventValue then + if not eventName then return end - CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustSimpleTrackEvent(eventName, json.encode(eventValue)) + CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustSimpleTrackEvent(eventName) end function BIReport:postAdjustAdRevenueAppLovinMAX(revenue, networkName, adUnitIdentifier, placement) @@ -360,11 +360,11 @@ function BIReport:postPurchase(price, content, originOrderId, orderId) -- 上报付费到adjust if Platform:isIosPlatform() then - self:postAdjustSimpleTrackEvent("rumq9q", {}) + self:postAdjustSimpleTrackEvent("rumq9q") else - self:postAdjustSimpleTrackEvent("xzqrsb", {}) + self:postAdjustSimpleTrackEvent("xzqrsb") end - -- CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustRevenueTrackEvent("naoyh8", price, "USD") + CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustRevenueTrackEvent("naoyh8", price, "USD") end -- 上报等级提升事件,单独处理,只上报到AF和FB,不上报数数 diff --git a/lua/app/module/login/login_manager.lua b/lua/app/module/login/login_manager.lua index 4b3bb209..1e5eae29 100644 --- a/lua/app/module/login/login_manager.lua +++ b/lua/app/module/login/login_manager.lua @@ -26,7 +26,6 @@ end ---- 登录界面资源加载完毕后调用 function LoginManager:loginGame() - -- adjust 打开应用事件识别码 ModuleManager.MaincityManager:firstEnterMainCity() end