From 58bc9edf0f699281620ee582776391095560019e Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Fri, 11 Sep 2020 17:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 3310060..478308c 100644 --- a/app/Service/v3/Implementations/ShopCartService.php +++ b/app/Service/v3/Implementations/ShopCartService.php @@ -81,7 +81,7 @@ class ShopCartService implements ShopCartServiceInterface $ShoppingCart = ShoppingCart::query()->where([ ['user_id','=',$userId], ['goods_id','=',$goodsId], - ['activity_type','=',$activity], + ['activity_type','=',$activityType], ]) ->select('num') ->first();