From c4c2f8147866b60bceec3dd55c513cc4a0b07120 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Mon, 4 Jul 2022 18:02:53 +0800 Subject: [PATCH] fixed address --- beike/Shop/Services/CheckoutService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beike/Shop/Services/CheckoutService.php b/beike/Shop/Services/CheckoutService.php index 534b7557..e90ce3b7 100644 --- a/beike/Shop/Services/CheckoutService.php +++ b/beike/Shop/Services/CheckoutService.php @@ -77,22 +77,22 @@ class CheckoutService private function updateShippingAddressId($shippingAddressId) { - $this->cart->update(['shipping_address_id', $shippingAddressId]); + $this->cart->update(['shipping_address_id' => $shippingAddressId]); } private function updatePaymentAddressId($paymentAddressId) { - $this->cart->update(['payment_address_id', $paymentAddressId]); + $this->cart->update(['payment_address_id' => $paymentAddressId]); } private function updateShippingMethod($shippingMethod) { - $this->cart->update(['shipping_method_code', $shippingMethod]); + $this->cart->update(['shipping_method_code' => $shippingMethod]); } private function updatePaymentMethod($paymentMethod) { - $this->cart->update(['payment_method_code', $paymentMethod]); + $this->cart->update(['payment_method_code' => $paymentMethod]); } /**