|  | @@ -248,14 +248,14 @@ class Common extends Api
 | 
	
		
			
				|  |  |          //  首页推荐的分类
 | 
	
		
			
				|  |  |          $indexCategoryList = Category::where('status', StatusEnum::NORMAL)
 | 
	
		
			
				|  |  |          ->field('id,name,image')
 | 
	
		
			
				|  |  | -        ->where("FIND_IN_SET('index',`flag`)")
 | 
	
		
			
				|  |  | +        ->where('is_recommend',StatusEnum::YES)
 | 
	
		
			
				|  |  |          ->order('weigh desc')
 | 
	
		
			
				|  |  |          ->limit(8)
 | 
	
		
			
				|  |  |          ->select();
 | 
	
		
			
				|  |  |          //热门分类
 | 
	
		
			
				|  |  |          $indexHotCategoryList = Category::where('status', StatusEnum::NORMAL)
 | 
	
		
			
				|  |  |          ->field('id,name,image')
 | 
	
		
			
				|  |  | -        ->where("FIND_IN_SET('hot',`flag`)")
 | 
	
		
			
				|  |  | +        ->where('is_hot',StatusEnum::YES)
 | 
	
		
			
				|  |  |          ->order('weigh desc')
 | 
	
		
			
				|  |  |          ->limit(4)
 | 
	
		
			
				|  |  |          ->select();
 |