From de8ecd514ef33a9d266d73e863649eb67199dbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=BB=BA=E7=82=8A?= <924182103@qq.com> Date: Wed, 7 Aug 2024 17:28:14 +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/Http/Controllers/Goods/GoodsCombinationController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Goods/GoodsCombinationController.php b/app/Http/Controllers/Goods/GoodsCombinationController.php index 337fb51..a1e23ae 100644 --- a/app/Http/Controllers/Goods/GoodsCombinationController.php +++ b/app/Http/Controllers/Goods/GoodsCombinationController.php @@ -112,6 +112,7 @@ class GoodsCombinationController extends Controller $itemIds = array_column($combinationGoods, 'item_id'); $skus = GoodsSku::query() ->whereIn('id', $itemIds) + ->get() ->pluck(null, 'id') ->toArray(); $stock = [];