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) {