This commit is contained in:
parent
39f229c308
commit
5aa08d97ee
|
@ -162,7 +162,6 @@ class SpiderMt extends Command
|
||||||
|
|
||||||
if ($orderid) {
|
if ($orderid) {
|
||||||
$this->reloadStatus($orderid, $os, $output);
|
$this->reloadStatus($orderid, $os, $output);
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// $this->checks($output);
|
// $this->checks($output);
|
||||||
|
@ -188,7 +187,7 @@ class SpiderMt extends Command
|
||||||
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"));
|
||||||
$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, $orderid);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (date('H') >= 1 && date('H') <= 7) {
|
if (date('H') >= 1 && date('H') <= 7) {
|
||||||
|
@ -330,7 +329,7 @@ class SpiderMt extends Command
|
||||||
case 7:
|
case 7:
|
||||||
try {
|
try {
|
||||||
$mei = new Meituan($k);
|
$mei = new Meituan($k);
|
||||||
$list = $mei->get($page, $start, $end);
|
$list = $mei->get($page, $start, $end, $order_id);
|
||||||
// $pages = $mei->totalPage;
|
// $pages = $mei->totalPage;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error(dirname(__FILE__) . __LINE__ . $e);
|
Log::error(dirname(__FILE__) . __LINE__ . $e);
|
||||||
|
|
Loading…
Reference in New Issue