|
|
|
@ -32,7 +32,7 @@ class ShopCarService implements ShopCarServiceInterface |
|
|
|
$goods_exists = ShopCar::where([ |
|
|
|
['money','=',0.01], |
|
|
|
['user_id','=',$params['user_id']], |
|
|
|
['good_id','=',$params['good_id']] |
|
|
|
['good_id','!=',$params['good_id']] |
|
|
|
]) |
|
|
|
->exists(); |
|
|
|
if($goods_exists){ |
|
|
|
|