From 6316ce0128030182b8b66700cda91eefb7f21f2f Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Mon, 7 Oct 2024 11:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/command/SpiderMt.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/service/app/command/SpiderMt.php b/service/app/command/SpiderMt.php index 861c0c55..a8c08fb2 100644 --- a/service/app/command/SpiderMt.php +++ b/service/app/command/SpiderMt.php @@ -377,7 +377,11 @@ class SpiderMt extends Command if (!empty($oldMobile)) { $admin_id = $oldMobile->admin_id; } else { - $admin_id = $this->poolUser($order->orderStatus, $order->category_desc); + try { + $admin_id = $this->poolUser($order->orderStatus, $order->category_desc); + } catch (\Exception $exception) { + continue; + } } if (empty($admin_id)) return null;