|
@@ -136,7 +136,7 @@ class CartService
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public static function updateChecked($userId, $cartIds=[], $isChecked)
|
|
|
+ public static function updateChecked($userId, $cartIds=[], $isChecked=0)
|
|
|
{
|
|
|
return Carts::where('user_id', $userId)
|
|
|
->whereIn('id', $cartIds)
|