Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -905,7 +905,7 @@ class ProductLogic extends BaseLogic | @@ -905,7 +905,7 @@ class ProductLogic extends BaseLogic | ||
| 905 | $this->param['deleted_at'] = null; | 905 | $this->param['deleted_at'] = null; |
| 906 | $this->param['featured_status'] = $this->param['featured_status'] ?? 0; | 906 | $this->param['featured_status'] = $this->param['featured_status'] ?? 0; |
| 907 | if(($this->param['featured_status'] != Category::STATUS_ACTIVE)) { | 907 | if(($this->param['featured_status'] != Category::STATUS_ACTIVE)) { |
| 908 | - $this->param['title'] = ['in',['Featured','featured']]; | 908 | + $this->param['title'] = ['!=','Featured']; |
| 909 | } | 909 | } |
| 910 | unset($this->param['featured_status']); | 910 | unset($this->param['featured_status']); |
| 911 | $list = $categoryModel->list($this->param, ['sort', 'id'], ['id', 'pid', 'title']); | 911 | $list = $categoryModel->list($this->param, ['sort', 'id'], ['id', 'pid', 'title']); |
-
请 注册 或 登录 后发表评论