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

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(rechargeConfig.Price)
LuckyCatManager.SetAccumRechargeValue() LuckyCatManager.SetAccumRechargeValue()
end end
CheckRedPointStatus(RedPointType.DynamicActRecharge)
end end
function this.SetAccumRechargeValue(value, flag) function this.SetAccumRechargeValue(value, flag)

View File

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