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