From e3572cde9e186828ca27f65cf353f16b2061a3a3 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Sat, 11 Oct 2025 09:36:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=93=E5=8F=96=E5=90=8E=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E8=BD=A6=E8=BE=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/service/BrandSeriesService.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/admin/service/BrandSeriesService.php b/app/admin/service/BrandSeriesService.php index 9ff6ffd..cc946c8 100644 --- a/app/admin/service/BrandSeriesService.php +++ b/app/admin/service/BrandSeriesService.php @@ -198,13 +198,15 @@ class BrandSeriesService $official_price = $model["info"]['official_price'] * 10000; } $models[$key] = [ - 'model_name' => $model["info"]['year'] . '款 ' .$model["info"]['car_name'], + 'title' => $model["info"]['year'] . '款 ' .$model["info"]['car_name'], 'brand_name' => $model["info"]['brand_name'], + 'series_name' => $model["info"]['series_name'], 'year' => $model["info"]['year'], 'msrp' => $official_price, + 'car_id' => $model["info"]['id'], ]; } - return $models; + return array_values($models); } catch (\Exception $e) { throw new \Exception($e->getMessage()); }