fixed country id

This commit is contained in:
Edward Yang 2022-07-01 15:20:42 +08:00
parent 2c9c2fc361
commit f66a2eb0d9
1 changed files with 1 additions and 1 deletions

View File

@ -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,