From 4c47c78b23b6e34ee31f76e5fe8d63f692e9e1fa Mon Sep 17 00:00:00 2001 From: weigang Date: Thu, 24 Sep 2020 13:29:18 +0800 Subject: [PATCH] no message --- app/Service/v3/Implementations/ShopCartService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/v3/Implementations/ShopCartService.php b/app/Service/v3/Implementations/ShopCartService.php index 6167609..e97c963 100644 --- a/app/Service/v3/Implementations/ShopCartService.php +++ b/app/Service/v3/Implementations/ShopCartService.php @@ -248,7 +248,7 @@ class ShopCartService implements ShopCartServiceInterface ]) ->where(['user_id' => $userId]) ->where(['market_id' => $marketId]); - if (!empty($carts)) { + if (!empty($shopcartIds)) { $carts = $carts->whereIn('id', $shopcartIds); }