|
@@ -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']);
|