From f66a2eb0d93dd7131dcb012f5ea4e5b066d23378 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Fri, 1 Jul 2022 15:20:42 +0800 Subject: [PATCH] fixed country id --- beike/Shop/Services/CheckoutService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,