This commit is contained in:
jianghanbo 2024-09-02 18:34:29 +08:00
parent c942b56865
commit a1b397720b
1 changed files with 1 additions and 3 deletions

View File

@ -207,11 +207,9 @@ class SpiderTc extends Command
try { try {
$dou = new Tongcheng($k); $dou = new Tongcheng($k);
$list = $dou->get($page, $start, $end, ''); $list = $dou->get($page, $start, $end, '');
$this->output->writeln('test:' . json_encode($list));
$pages = $dou->totalPage; $pages = $dou->totalPage;
} catch (\Exception $e) { } catch (\Exception $e) {
$this->output->writeln('error:' . $e->getMessage()); Log::info('同程订单拉取失败:' . dirname(__FILE__) . __LINE__ . $e);
Log::error(dirname(__FILE__) . __LINE__ . $e);
} }
break; break;