diff --git a/Assets/ManagedResources/~Lua/Modules/Operating/GrowthGiftPage.lua b/Assets/ManagedResources/~Lua/Modules/Operating/GrowthGiftPage.lua index 08cdf13dd2..0fb0013a88 100644 --- a/Assets/ManagedResources/~Lua/Modules/Operating/GrowthGiftPage.lua +++ b/Assets/ManagedResources/~Lua/Modules/Operating/GrowthGiftPage.lua @@ -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 diff --git a/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua b/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua index 40ae5aed45..78152e7ba6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua @@ -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)