diff --git a/beike/Shop/Services/CheckoutService.php b/beike/Shop/Services/CheckoutService.php index aeeab5f6..1899ae9c 100644 --- a/beike/Shop/Services/CheckoutService.php +++ b/beike/Shop/Services/CheckoutService.php @@ -30,7 +30,7 @@ class CheckoutService $carts = CartService::reloadData($cartList); $data = [ - 'country_id' => setting('country_id'), + 'country_id' => (int)setting('country_id'), 'customer_id' => $customer->id ?? null, 'countries' => CountryRepo::all(), 'addresses' => $addresses,