This commit is contained in:
xiaoyu
2025-04-06 11:19:44 +08:00
parent 04c7e1b529
commit 8ff27127a1
+1 -1
View File
@@ -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'];