同程金额处理
This commit is contained in:
parent
9719c6907a
commit
aa83dc6c5b
|
@ -181,6 +181,7 @@ class SpiderTc extends Command
|
||||||
$startTime = strtotime(date('Y-m-d 08:20'));
|
$startTime = strtotime(date('Y-m-d 08:20'));
|
||||||
if (time() > $startTime) {
|
if (time() > $startTime) {
|
||||||
$start = date('Y-m-d 00:00:00', strtotime("-{$d} days"));
|
$start = date('Y-m-d 00:00:00', strtotime("-{$d} days"));
|
||||||
|
$output->writeln('END spider:tc:start:'.$start);
|
||||||
$end = date('Y-m-d 23:59:59');
|
$end = date('Y-m-d 23:59:59');
|
||||||
$this->orders($start, $end, false);
|
$this->orders($start, $end, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue