fixed cart list
This commit is contained in:
parent
d234d82792
commit
a5b7cb2bb8
|
|
@ -19,6 +19,9 @@ class CartService
|
|||
{
|
||||
public static function list($customer)
|
||||
{
|
||||
if (empty($customer)) {
|
||||
return [];
|
||||
}
|
||||
$cartList = Cart::query()->where('customer_id', $customer->id)->get();
|
||||
return $cartList;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue