正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -168,7 +168,7 @@ class ProductController extends BaseController | @@ -168,7 +168,7 @@ class ProductController extends BaseController | ||
| 168 | $query->where('created_at', '>=' ,$this->param['start_at'].' 00:00:00')->where('created_at', '<=' ,$this->param['end_at'].' 59:59:59'); | 168 | $query->where('created_at', '>=' ,$this->param['start_at'].' 00:00:00')->where('created_at', '<=' ,$this->param['end_at'].' 59:59:59'); |
| 169 | } | 169 | } |
| 170 | $this->param['featured_status'] = $this->param['featured_status'] ?? 0; | 170 | $this->param['featured_status'] = $this->param['featured_status'] ?? 0; |
| 171 | - if(($this->param['featured_status'] != Category::STATUS_ACTIVE)) { | 171 | + if($this->param['featured_status'] != Category::STATUS_ACTIVE) { |
| 172 | $query = $query->where('title','not like','Featured%'); | 172 | $query = $query->where('title','not like','Featured%'); |
| 173 | } | 173 | } |
| 174 | return $query; | 174 | return $query; |
-
请 注册 或 登录 后发表评论