更新spudao 方法search p.status=1
This commit is contained in:
parent
e38a650f78
commit
2b02111bc7
@ -160,6 +160,7 @@ class SpuDao extends BaseDao
|
|||||||
else if ($where['hot_type'] == 'good') $query->where('P.is_benefit', 1);
|
else if ($where['hot_type'] == 'good') $query->where('P.is_benefit', 1);
|
||||||
});
|
});
|
||||||
$query->where('P.is_show','=',1);
|
$query->where('P.is_show','=',1);
|
||||||
|
$query->where('P.status','=',1);
|
||||||
return $query->order($order);
|
return $query->order($order);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user