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