From 118b0e31cfc67796d3fb651b0c8b50f03e55b359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Mon, 28 Aug 2023 16:12:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#10000=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/Business/BusinessClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Business/BusinessClient.php b/app/Services/Business/BusinessClient.php index 8514845..c5da65c 100644 --- a/app/Services/Business/BusinessClient.php +++ b/app/Services/Business/BusinessClient.php @@ -50,7 +50,7 @@ abstract class BusinessClient } else { $orderRecord->update($order); } - if ($order['cancel_status']) { + if (!empty($order['cancel_status'])) { event(new BusinessOrderCancelEvent($shopId, $order['order_sn'])); } $goodsSkuNum = 0;