diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 7eb3c61c..8536f33d 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -158,6 +158,7 @@ BIReport.COIN_TYPE = { BIReport.MAIL_OPT_TYPE = { OPEN = "Open", CLAIM = "Claim", + CLICK = "Click", } BIReport.BOUNTY_OPT_TYPE = { @@ -820,6 +821,15 @@ function BIReport:postMailClaim(mailId) self:report(EVENT_NAME_MAIL_OPT, args) end +function BIReport:postMailClick(mailId) + -- Email_ID 邮件编号 + local args = { + mail_id = mailId, + event_type = BIReport.MAIL_OPT_TYPE.CLICK, + } + self:report(EVENT_NAME_MAIL_OPT, args) +end + function BIReport:postAccountDelete(loginType) local args = { login_type = loginType, @@ -898,7 +908,7 @@ function BIReport:postBountyLevelUp(bountyType, level, exp, season) local args = { event_type = BIReport.BOUNTY_OPT_TYPE.BOUNTY_LEVEL_UP, season = season, - level = level, + bounty_level_id = level, exp = exp, bounty_type = bountyType, } diff --git a/lua/app/ui/mail/cell/mail_cell.lua b/lua/app/ui/mail/cell/mail_cell.lua index 481fc7b6..c4287215 100644 --- a/lua/app/ui/mail/cell/mail_cell.lua +++ b/lua/app/ui/mail/cell/mail_cell.lua @@ -53,6 +53,7 @@ function MailCell:refresh(entity) end end) uiMap["mail_cell.bg_read.claim_btn"]:addClickListener(function() + BIReport:postMailClick(entity:getId()) ModuleManager.MailManager:readMail(entity:getId()) end)