产品列表过滤非正常状态
This commit is contained in:
@@ -37,7 +37,7 @@ class Product extends BaseController
|
||||
$sort_order = $sort . ' ' . $order;
|
||||
}
|
||||
$list = [];
|
||||
$where = ['status>=' => 0];
|
||||
$where = ['status' => Auto_product_model::STATUS_NORMAL];
|
||||
$where["(provinceId is null or cityId={$cityId})"] = null;
|
||||
$title && $where['title LIKE "%' . trim($title) . '%"'] = null;
|
||||
if ($brands) {
|
||||
|
||||
Reference in New Issue
Block a user