From ad811945981f0e23d21e7d8c1341eb3213f0c0c8 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Tue, 14 Oct 2025 23:34:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9h5=E8=8E=B7=E5=8F=96=E5=9F=8E?= =?UTF-8?q?=E5=B8=82=E5=93=81=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent/admin/controllers/auto/Brand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/admin/controllers/auto/Brand.php b/agent/admin/controllers/auto/Brand.php index 8fbe172e..e22117ee 100644 --- a/agent/admin/controllers/auto/Brand.php +++ b/agent/admin/controllers/auto/Brand.php @@ -59,7 +59,7 @@ class Brand extends BaseController $cityId = intval($params['cityId']); $where = ['status' => Auto_product_model::STATUS_NORMAL]; $where["(cityId is null or cityId={$cityId})"] = null; - $res = $this->autoProduct->selectProduct($where, 'lc_auto_product.id desc', 1, 5, 'lc_auto_product.brandId'); + $res = $this->autoProduct->selectProduct($where, 'lc_auto_product.id desc', 0, 0, 'lc_auto_product.brandId'); $brandIdArray = array_unique(array_column($res, 'brandId')); $list = []; if ($brandIdArray) {