From a1b397720b4da12ecb2fc829513526e19149fe62 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Mon, 2 Sep 2024 18:34:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/command/SpiderTc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/service/app/command/SpiderTc.php b/service/app/command/SpiderTc.php index 30ea2cb7..61bbe6d5 100644 --- a/service/app/command/SpiderTc.php +++ b/service/app/command/SpiderTc.php @@ -207,11 +207,9 @@ class SpiderTc extends Command try { $dou = new Tongcheng($k); $list = $dou->get($page, $start, $end, ''); - $this->output->writeln('test:' . json_encode($list)); $pages = $dou->totalPage; } catch (\Exception $e) { - $this->output->writeln('error:' . $e->getMessage()); - Log::error(dirname(__FILE__) . __LINE__ . $e); + Log::info('同程订单拉取失败:' . dirname(__FILE__) . __LINE__ . $e); } break;