产品列表过滤非正常状态

This commit is contained in:
lcc
2025-07-27 15:53:49 +08:00
parent e049a0580f
commit 400479bf60
@@ -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) {