|  | @@ -360,16 +360,20 @@ namespace GFGGame
 | 
	
		
			
				|  |  |                  return true;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        public bool GetShopIdCanBuyInShop(int menuType,int shopId)
 | 
	
		
			
				|  |  | +        public bool GetShopIdCanBuyInShop(int menuType,List<int> shopListId)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              List<ShopCfg> shopCfgs = ShopCfgArray.Instance.GetCfgsBymenu1Andmenu2(ConstStoreTabId.STORE_GIFT_BAG, menuType);
 | 
	
		
			
				|  |  |              if (ShopDataManager.Instance.RemoveNotOpenCfg(shopCfgs).Count == 0)
 | 
	
		
			
				|  |  |                  return false;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            int buyNum = ShopDataManager.Instance.GetGoodsBuyNumById(shopId);
 | 
	
		
			
				|  |  | -            foreach (var cfg in shopCfgs) { 
 | 
	
		
			
				|  |  | -                if(cfg.id == shopId && buyNum < cfg.maxBuyNum)
 | 
	
		
			
				|  |  | -                    return true;
 | 
	
		
			
				|  |  | +            foreach (var shopId in shopListId)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                int buyNum = ShopDataManager.Instance.GetGoodsBuyNumById(shopId);
 | 
	
		
			
				|  |  | +                foreach (var cfg in shopCfgs)
 | 
	
		
			
				|  |  | +                {
 | 
	
		
			
				|  |  | +                    if (cfg.id == shopId && buyNum < cfg.maxBuyNum)
 | 
	
		
			
				|  |  | +                        return true;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              return false;
 | 
	
		
			
				|  |  |          }
 |