From 3313c4a713890b463a50938de5271716ecf7ec83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=BB=BA=E7=82=8A?= <924182103@qq.com> Date: Thu, 8 Aug 2024 09:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=B2=9C=E8=8A=B12.0-=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B5=8B=E8=AF=95bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Events/BusinessOrdersUpdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Events/BusinessOrdersUpdate.php b/app/Events/BusinessOrdersUpdate.php index 8ea5b72..69572a2 100644 --- a/app/Events/BusinessOrdersUpdate.php +++ b/app/Events/BusinessOrdersUpdate.php @@ -36,8 +36,8 @@ class BusinessOrdersUpdate $this->businessGoodSku = $businessGoodSku->toArray(); $this->num = $num; $updateResult = false; - //暂时设定重试5次 - for ($i = 0; $i < 5; $i++) { + //暂时设定重试3次 + for ($i = 0; $i < 3; $i++) { if ($this->updateStock()) { $updateResult = true; break;