From c3e62e4bc2138c5392b813b54e8e10ceb6534318 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Tue, 18 Jul 2023 17:04:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=8B=E5=91=BD?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 6 +++--- lua/app/module/chapter/chapter_manager.lua | 2 +- lua/app/module/summon/summon_manager.lua | 2 +- lua/app/userdata/hero/hero_data.lua | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index de527519..7ebfd284 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -716,7 +716,7 @@ function BIReport:postFirstRechargeEvent(id) end -- 上报24小时内部分章节第一次失败的用户 -function BIReport:post24GradeFailEvent(chapterId) +function BIReport:postFirstDayGradeFailEvent(chapterId) -- 只有外网正式渠道真机包才上报 if not Platform:getIsPublishChannel() or EDITOR_MODE then return @@ -746,7 +746,7 @@ function BIReport:post24GradeFailEvent(chapterId) end -- 上报24小时内部分英雄升级 -function BIReport:post24HeroLevel(heroId) +function BIReport:postFirstDayHeroLevel(heroId) -- 只有外网正式渠道真机包才上报 if not Platform:getIsPublishChannel() or EDITOR_MODE then return @@ -779,7 +779,7 @@ function BIReport:post24HeroLevel(heroId) end -- 上报24小时内开宝箱 -function BIReport:post24OpenBox(count) +function BIReport:postFirstDayOpenBox(count) -- 只有外网正式渠道真机包才上报 if not Platform:getIsPublishChannel() or EDITOR_MODE then return diff --git a/lua/app/module/chapter/chapter_manager.lua b/lua/app/module/chapter/chapter_manager.lua index 5597f48b..fe69d241 100644 --- a/lua/app/module/chapter/chapter_manager.lua +++ b/lua/app/module/chapter/chapter_manager.lua @@ -169,7 +169,7 @@ function ChapterManager:endFightFinish(result) if not reqData.win then DataManager.ShopData:markPopLastChapterActGift() if DataManager.ChapterData:getChapterFightCount(fightChapterId) == 1 then -- 首次失败上报 - BIReport:post24GradeFailEvent(fightChapterId) + BIReport:postFirstDayGradeFailEvent(fightChapterId) end end diff --git a/lua/app/module/summon/summon_manager.lua b/lua/app/module/summon/summon_manager.lua index 0c297cf0..73fde500 100644 --- a/lua/app/module/summon/summon_manager.lua +++ b/lua/app/module/summon/summon_manager.lua @@ -46,7 +46,7 @@ function SummonManager:summonFinish(result) for t, count in pairs(result.summon_info.count) do totalCount = totalCount + count end - BIReport:post24OpenBox(totalCount) + BIReport:postFirstDayOpenBox(totalCount) end end end diff --git a/lua/app/userdata/hero/hero_data.lua b/lua/app/userdata/hero/hero_data.lua index 779aed14..d25bb5e0 100644 --- a/lua/app/userdata/hero/hero_data.lua +++ b/lua/app/userdata/hero/hero_data.lua @@ -149,7 +149,7 @@ function HeroData:setHeroLv(id, lv) end BIReport:postHeroLev(beforeLv, lv) - BIReport:post24HeroLevel(id) + BIReport:postFirstDayHeroLevel(id) end function HeroData:getMatchActiveHeroMap()