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;