上牌时间

This commit is contained in:
2026-01-16 18:25:25 +08:00
parent 17701b9262
commit 1fe9d4e1b2
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -152,9 +152,9 @@ class UsedCarController extends BaseController
'crawl_brand_id' => $info['brand_id'], 'crawl_brand_id' => $info['brand_id'],
'crawl_series_id' => $info['series_id'], 'crawl_series_id' => $info['series_id'],
'used_car_id' => $info['used_car_id'], 'used_car_id' => $info['used_car_id'],
'plate_time' => $info['plate_time'],
]; ];
return $this->success($data); return $this->success($data);
} catch (\Throwable $e) { } catch (\Throwable $e) {
return $this->error($e->getMessage().'|'.$e->getLine().$e->getFile().$e->getTraceAsString()); return $this->error($e->getMessage().'|'.$e->getLine().$e->getFile().$e->getTraceAsString());
@@ -310,6 +310,7 @@ class UsedCarCrawlSingle
$displacement = $this->getParamValue($otherParams, '排量'); $displacement = $this->getParamValue($otherParams, '排量');
$gearbox = $this->getParamValue($otherParams, '变速箱'); $gearbox = $this->getParamValue($otherParams, '变速箱');
$sourcePlace = $this->getParamValue($otherParams, '车源地'); $sourcePlace = $this->getParamValue($otherParams, '车源地');
$plateTime = $this->getParamValue($otherParams, '上牌时间');
$formatCarInfo = [ $formatCarInfo = [
'displacement' => $displacement, 'displacement' => $displacement,
@@ -353,6 +354,7 @@ class UsedCarCrawlSingle
'source_place' => $sourcePlace, 'source_place' => $sourcePlace,
'brand_id' => $brand_id, 'brand_id' => $brand_id,
'series_id' => $series_id, 'series_id' => $series_id,
'plate_time' => $plateTime,
]; ];
} }