diff --git a/app/common/repositories/system/merchant/MerchantRepository.php b/app/common/repositories/system/merchant/MerchantRepository.php index 79315a36..07ac937c 100644 --- a/app/common/repositories/system/merchant/MerchantRepository.php +++ b/app/common/repositories/system/merchant/MerchantRepository.php @@ -324,12 +324,12 @@ class MerchantRepository extends BaseRepository } $item['distance'] = $distance; } - if(isset($where['type_id'])&& $where['type_id']==12){ - $item['recommend'] = $item['AllRecommendType']; - }else{ - $item['recommend'] = isset($where['delivery_way']) ? $item['CityRecommend'] : $item['AllRecommend']; - - } +// if(isset($where['type_id'])&& $where['type_id']==12){ +// $item['recommend'] = $item['AllRecommendType']; +// }else{ +// $item['recommend'] = isset($where['delivery_way']) ? $item['CityRecommend'] : $item['AllRecommend']; +// +// } return $item; });