【累计充值】达成页签没红点

jiaoyangna 2020-09-15 11:21:55 +08:00
parent 050df9638f
commit f0f744602e
2 changed files with 3 additions and 4 deletions

View File

@ -118,6 +118,7 @@ function this.RefreshAccumRechargeValue(goodsId)
--LuckyCatManager.SetAccumRechargeValue(rechargeConfig.Price)
LuckyCatManager.SetAccumRechargeValue()
end
CheckRedPointStatus(RedPointType.DynamicActRecharge)
end
function this.SetAccumRechargeValue(value, flag)

View File

@ -817,9 +817,6 @@ function this.InitLeiJiChongZhiData()
if (not id) or id == 0 then
return nil
end
if not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.DynamicAct_recharge) then
return nil
end
this.LeiJiChongZhiData = {}
local allListData = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig, "ActivityId", id)
local allMissionData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.DynamicAct_recharge)
@ -845,7 +842,8 @@ function this.CheckLeiJiChongZhiRedData()
return false
end
for j = 1,#mission do
if mission.state == 2 then
LogGreen(mission[j].id..":"..mission[j].state)
if mission[j].state == 2 then
return true
end
end