|
|
|
@ -230,7 +230,7 @@ class OrderOnlineService implements OrderOnlineServiceInterface |
|
|
|
// 用户购物车数据
|
|
|
|
$cartIds = explode(',', $storeItem->cart_ids); |
|
|
|
$shopcartIds = array_merge($shopcartIds, $cartIds); |
|
|
|
$carts = ShoppingCart::query()->whereIn('id', $cartIds)->where(['market_id' => $marketId, 'user_id' => $userId])->orderBy('updated_at ASC')->get(); |
|
|
|
$carts = ShoppingCart::query()->whereIn('id', $cartIds)->where(['market_id' => $marketId, 'user_id' => $userId])->get(); |
|
|
|
foreach ($carts as $k => &$cart) { |
|
|
|
// 查个商品,做商品有效的判断检查
|
|
|
|
$goods = []; |
|
|
|
|