diff --git a/admin/controllers/autohome/Customer.php b/admin/controllers/autohome/Customer.php index 9f1088be..1a22fc6d 100644 --- a/admin/controllers/autohome/Customer.php +++ b/admin/controllers/autohome/Customer.php @@ -439,7 +439,7 @@ class Customer extends HD_Controller $brands = $this->auto_brand_model->get_map_by_ids(array_column($rows, 'brand_id')); $series = $this->auto_series_model->get_map_by_ids(array_column($rows, 'series_id')); - $map_biz = $this->biz_model->map('biz_name', 'id', ['status' => 1, 'province_id' => 350000], '', 0, 0, 'id,biz_name'); + $map_biz = $this->biz_model->map('id', 'biz_name', ['status' => 1, 'province_id' => 350000], '', 0, 0, 'id,biz_name'); foreach ($rows as $val){ $val['brand'] = $brands[$val['brand_id']][0]['name'];