|
|
@@ -81,6 +81,10 @@ class GoodsCategoryService extends BaseService
|
|
|
$query->where('a.pid', $pid);
|
|
|
}
|
|
|
|
|
|
+ if (isset($params['is_recommend']) && $params['is_recommend'] != '') {
|
|
|
+ $query->where('a.is_recommend', $params['is_recommend']);
|
|
|
+ }
|
|
|
+
|
|
|
// 商户
|
|
|
$merchId = isset($params['merch_id']) ? $params['merch_id'] : 0;
|
|
|
if ($merchId > 0) {
|