From add09acaa41c353a039a2832555046163936f940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Wed, 26 Apr 2023 10:51:15 +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/Listeners/CombinationGoodsStockUpdateListener.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Listeners/CombinationGoodsStockUpdateListener.php b/app/Listeners/CombinationGoodsStockUpdateListener.php index c09746b..e49f575 100644 --- a/app/Listeners/CombinationGoodsStockUpdateListener.php +++ b/app/Listeners/CombinationGoodsStockUpdateListener.php @@ -83,6 +83,7 @@ class CombinationGoodsStockUpdateListener } } if ($updateIds) { + $updateIds = array_unique($updateIds); event(new StockUpdateEvent($updateIds, 1, true)); } }