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();