【月卡激活】如果购买的礼包不弹恭喜获得,就不会提示已激活月卡,待下次任意界面弹恭喜获得才会提示

dev_chengFeng
ZhangBiao 2021-06-21 17:37:34 +08:00
parent 0dc5976dd0
commit 252aff3423
2 changed files with 4 additions and 2 deletions

View File

@ -208,7 +208,9 @@ function GrowthGiftPage:OnBtnInvestClicked()
end
function GrowthGiftPage:RequestBuy()
local giftGoodsInfo = OperatingManager.GetGiftGoodsInfo(GoodsTypeDef.GrowthReward, self.curGiftsId)
PayManager.Pay(giftGoodsInfo.goodsId, function(id)
PayManager.Pay(giftGoodsInfo.goodsId, function(id)
-- 检测月卡激活是否需要拍脸
OperatingManager.CheckMonthCardPatFace()
self:RefreshStatus()
end)
end

View File

@ -230,7 +230,7 @@ function this.GetGrowthRedPointState()
local hasGift = OperatingManager.HasGoodsByShowType(4)
if not hasGift then return false end
local giftGoodsInfo = OperatingManager.IsGrowthGiftGoodsAvailable(GoodsTypeDef.GrowthReward)
if giftGoodsInfo then return false end
if not giftGoodsInfo then return false end
local openId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.GrowthReward)
if openId then
local actRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)