新增上报
This commit is contained in:
parent
22ca62a023
commit
c46b80a567
@ -158,6 +158,7 @@ BIReport.COIN_TYPE = {
|
|||||||
BIReport.MAIL_OPT_TYPE = {
|
BIReport.MAIL_OPT_TYPE = {
|
||||||
OPEN = "Open",
|
OPEN = "Open",
|
||||||
CLAIM = "Claim",
|
CLAIM = "Claim",
|
||||||
|
CLICK = "Click",
|
||||||
}
|
}
|
||||||
|
|
||||||
BIReport.BOUNTY_OPT_TYPE = {
|
BIReport.BOUNTY_OPT_TYPE = {
|
||||||
@ -820,6 +821,15 @@ function BIReport:postMailClaim(mailId)
|
|||||||
self:report(EVENT_NAME_MAIL_OPT, args)
|
self:report(EVENT_NAME_MAIL_OPT, args)
|
||||||
end
|
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)
|
function BIReport:postAccountDelete(loginType)
|
||||||
local args = {
|
local args = {
|
||||||
login_type = loginType,
|
login_type = loginType,
|
||||||
@ -898,7 +908,7 @@ function BIReport:postBountyLevelUp(bountyType, level, exp, season)
|
|||||||
local args = {
|
local args = {
|
||||||
event_type = BIReport.BOUNTY_OPT_TYPE.BOUNTY_LEVEL_UP,
|
event_type = BIReport.BOUNTY_OPT_TYPE.BOUNTY_LEVEL_UP,
|
||||||
season = season,
|
season = season,
|
||||||
level = level,
|
bounty_level_id = level,
|
||||||
exp = exp,
|
exp = exp,
|
||||||
bounty_type = bountyType,
|
bounty_type = bountyType,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,6 +53,7 @@ function MailCell:refresh(entity)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
uiMap["mail_cell.bg_read.claim_btn"]:addClickListener(function()
|
uiMap["mail_cell.bg_read.claim_btn"]:addClickListener(function()
|
||||||
|
BIReport:postMailClick(entity:getId())
|
||||||
ModuleManager.MailManager:readMail(entity:getId())
|
ModuleManager.MailManager:readMail(entity:getId())
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user