Browse Source

商店下架修改

zhangyuqian 11 months ago
parent
commit
e10c28016f
1 changed files with 11 additions and 1 deletions
  1. 11 1
      GameClient/Assets/Game/HotUpdate/Views/Store/StoreView.cs

+ 11 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/StoreView.cs

@@ -145,7 +145,17 @@ namespace GFGGame
                         {
                         {
                             if (!ShopDataManager.Instance.GetShopActivityIsShow(tabCfg.index,menu2)) continue;
                             if (!ShopDataManager.Instance.GetShopActivityIsShow(tabCfg.index,menu2)) continue;
                         }
                         }
-                        _storeTabCfgs.Add(tabCfg.subTabArr[i]);
+                        if(tabCfg.subTabArr[i][2] != "StoreZGDCView")
+                        {
+                            _storeTabCfgs.Add(tabCfg.subTabArr[i]);
+                        }
+                        else
+                        {
+                            if (TimeHelper.ServerNow() <= 1724637600000)
+                            {
+                                _storeTabCfgs.Add(tabCfg.subTabArr[i]);
+                            }
+                        }
                     }
                     }
                 }
                 }
                 else if (tabCfg.index == ConstStoreTabId.STORE_EXCHANGE)
                 else if (tabCfg.index == ConstStoreTabId.STORE_EXCHANGE)