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;