同程金额处理

This commit is contained in:
jianghanbo 2024-09-02 19:03:27 +08:00
parent 9719c6907a
commit aa83dc6c5b
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }