牟新芬 3 gadi atpakaļ
vecāks
revīzija
187d5aa064
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/model/system/Product.php

+ 1 - 1
app/model/system/Product.php

@@ -102,7 +102,7 @@ class Product extends BaseModel
                 $model = $model->where('cate_id', $where['cate_id']);
             }
             if (isset($where['label']) && $where['label'] != '') {
-                if($where['label'] == '3'){
+                if($where['label'] == '4'){
                     $model = $model->where('is_new', 1);
                 }else{
                     $model = $model->where('stars', $where['label']);