From 1fe9d4e1b28b32322236d8a16c5e87160545f861 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Fri, 16 Jan 2026 18:25:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E7=89=8C=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/controller/UsedCarController.php | 2 +- app/common/utils/crawl/service/UsedCarCrawlSingle.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/common/controller/UsedCarController.php b/app/common/controller/UsedCarController.php index e760a90..08a9d0b 100644 --- a/app/common/controller/UsedCarController.php +++ b/app/common/controller/UsedCarController.php @@ -152,9 +152,9 @@ class UsedCarController extends BaseController 'crawl_brand_id' => $info['brand_id'], 'crawl_series_id' => $info['series_id'], 'used_car_id' => $info['used_car_id'], + 'plate_time' => $info['plate_time'], ]; - return $this->success($data); } catch (\Throwable $e) { return $this->error($e->getMessage().'|'.$e->getLine().$e->getFile().$e->getTraceAsString()); diff --git a/app/common/utils/crawl/service/UsedCarCrawlSingle.php b/app/common/utils/crawl/service/UsedCarCrawlSingle.php index 3ad5f35..63b4744 100644 --- a/app/common/utils/crawl/service/UsedCarCrawlSingle.php +++ b/app/common/utils/crawl/service/UsedCarCrawlSingle.php @@ -310,6 +310,7 @@ class UsedCarCrawlSingle $displacement = $this->getParamValue($otherParams, '排量'); $gearbox = $this->getParamValue($otherParams, '变速箱'); $sourcePlace = $this->getParamValue($otherParams, '车源地'); + $plateTime = $this->getParamValue($otherParams, '上牌时间'); $formatCarInfo = [ 'displacement' => $displacement, @@ -353,6 +354,7 @@ class UsedCarCrawlSingle 'source_place' => $sourcePlace, 'brand_id' => $brand_id, 'series_id' => $series_id, + 'plate_time' => $plateTime, ]; }