From 5aa08d97ee09fc2d3aefdb09d84c602c853cb134 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Tue, 10 Sep 2024 10:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/command/SpiderMt.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/service/app/command/SpiderMt.php b/service/app/command/SpiderMt.php index cc512bcd..1e235d08 100644 --- a/service/app/command/SpiderMt.php +++ b/service/app/command/SpiderMt.php @@ -162,7 +162,6 @@ class SpiderMt extends Command if ($orderid) { $this->reloadStatus($orderid, $os, $output); - return 1; } // $this->checks($output); @@ -188,7 +187,7 @@ class SpiderMt extends Command if (time() > $startTime) { $start = date('Y-m-d 00:00:00', strtotime("-{$d} days")); $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) { @@ -330,7 +329,7 @@ class SpiderMt extends Command case 7: try { $mei = new Meituan($k); - $list = $mei->get($page, $start, $end); + $list = $mei->get($page, $start, $end, $order_id); // $pages = $mei->totalPage; } catch (\Exception $e) { Log::error(dirname(__FILE__) . __LINE__ . $e);