牟新芬 %!s(int64=4) %!d(string=hai) anos
pai
achega
187d5aa064
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']);