|  | @@ -100,7 +100,8 @@ class Goods extends Base
 | 
	
		
			
				|  |  |          $row['discount_info'] = DiscountService::getGoodsDiscountDetail($row['id']);
 | 
	
		
			
				|  |  |          $row['comment_total'] = $comment_count;
 | 
	
		
			
				|  |  |          // 查询是否有定制规格
 | 
	
		
			
				|  |  | -        $row['is_customized_spec'] = GoodService::getGoodsCustomizedSpec($id, 2) ? 1: 0;
 | 
	
		
			
				|  |  | +        $goodsCustomizedSpec = GoodService::getGoodsCustomizedSpec($id, 2);
 | 
	
		
			
				|  |  | +        $row['is_customized_spec'] = !empty($goodsCustomizedSpec) ? 1: 0;
 | 
	
		
			
				|  |  |          $this->success('获取成功', $row);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |