This commit is contained in:
parent
c942b56865
commit
a1b397720b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue