From 592fad463dcad6ec522f2e39e7df41c8f445de7b Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Wed, 2 Jun 2021 15:12:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=8E=89=E7=9A=87=E5=A4=A7=E5=B8=9D?= =?UTF-8?q?=E3=80=91=E5=85=A5=E5=8F=A3=E9=A1=AF=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Main/MainPanel.lua | 11 ----------- .../~Lua/Modules/Recharge/View/GiftPre.lua | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index 90e31b04fb..f281b9ea10 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -728,17 +728,6 @@ end function this.CheckSixStarGoShow() local time=PlayerPrefs.GetString(PlayerManager.uid..PlayerManager.serverInfo.server_id.."supermeMan",0) if time and time~=0 and time~=666 and GetTimeStamp()-time< 259200 then - for _, shopData in ipairs(ShopManager.allShopData) do - if shopData.id == 20 then - for _, v in ipairs(shopData.storeItem) do - local time = shopItemConfig[v.id].Limit - v.buyNum - if time == 0 then - this.btnSixStarGo:SetActive(false) - return - end - end - end - end this.btnSixStarGo:SetActive(true) else this.btnSixStarGo:SetActive(false) diff --git a/Assets/ManagedResources/~Lua/Modules/Recharge/View/GiftPre.lua b/Assets/ManagedResources/~Lua/Modules/Recharge/View/GiftPre.lua index c28ea02293..0b363966bd 100644 --- a/Assets/ManagedResources/~Lua/Modules/Recharge/View/GiftPre.lua +++ b/Assets/ManagedResources/~Lua/Modules/Recharge/View/GiftPre.lua @@ -132,7 +132,7 @@ function GiftPre:BuyAction(costId, costNum, shopType, itemId) self.parent:RefreshData(nil,false,false) CheckRedPointStatus(RedPointType.DailyGift) CheckRedPointStatus(RedPointType.GrowthPackage) - if shopType==20 and (itemId==1107 or itemId==1110 or itemId==1111 or itemId==1112 )then + if shopType==20 and (itemId==1107 or itemId==1110 or itemId==1111 or itemId==1108 )then PlayerPrefs.SetString(PlayerManager.uid..PlayerManager.serverInfo.server_id.."supermeMan",666) end end)