From 68533fcdfbe77a5349bd68c9bb26013aa4b43bf4 Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Fri, 15 Dec 2023 16:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../store/order/StoreOtherOrderCreateRepository.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/common/repositories/store/order/StoreOtherOrderCreateRepository.php b/app/common/repositories/store/order/StoreOtherOrderCreateRepository.php index 7c798e54..acfd474a 100644 --- a/app/common/repositories/store/order/StoreOtherOrderCreateRepository.php +++ b/app/common/repositories/store/order/StoreOtherOrderCreateRepository.php @@ -547,6 +547,9 @@ class StoreOtherOrderCreateRepository extends StoreOrderRepository $cartIds = []; $orderList = []; foreach ($merchantCartList as $k => $merchantCart) { + foreach ($merchantCart['list'] as &$cart) { + $cartIds[] = $cart['cart_id']; + } $cost = 0; $rate = 0; if ($merchantCart['commission_rate'] > 0) {