更新购物车

This commit is contained in:
shengchanzhe 2023-12-15 16:24:47 +08:00
parent 7281120afe
commit 68533fcdfb

View File

@ -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) {