This commit is contained in:
2026-01-09 15:21:46 +08:00
parent 4a1e243726
commit d2d2ae27a2
2 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -124,10 +124,10 @@ class UsedCarService
// $crawlSeries = $crawlService->brandSeries($keyword); // $crawlSeries = $crawlService->brandSeries($keyword);
// } // }
//按关键词为品牌名抓取所有的系列名 //按关键词为品牌名抓取所有的系列名
$crawlSeries = $crawlService->brandSeries($keyword); // $crawlSeries = $crawlService->brandSeries($keyword);
if (empty($seriesId) && empty($crawlSeries)) { if (empty($seriesId)) {
throw new \Exception('抓取失败,未找到该系列车型'); throw new \Exception('抓取失败,请使用更精确的关键词');
} }
// $brandSerieses = []; // $brandSerieses = [];
+7 -7
View File
@@ -12,10 +12,10 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License
*/ */
use Webman\Log\Middleware; //use Webman\Log\Middleware;
//
return [ //return [
'@' => [ // '@' => [
Middleware::class // Middleware::class
] // ]
]; //];