From 1a23c49f902069a0e511116add11bad24ae1d2ec Mon Sep 17 00:00:00 2001 From: TL Date: Thu, 12 Jan 2023 15:48:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=94=AE=E5=90=8E=E7=94=B3=E8=AF=B7=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8F=96=E8=AE=A2=E5=8D=95=E7=9A=84=E7=94=B5=E8=AF=9D?= =?UTF-8?q?=E5=8F=B7=E7=A0=81=20https://guangdagit.com/beike/beikeshop/iss?= =?UTF-8?q?ues/268#issuecomment-19073?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beike/Shop/Services/RmaService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beike/Shop/Services/RmaService.php b/beike/Shop/Services/RmaService.php index a3fc4af9..c8cf943c 100644 --- a/beike/Shop/Services/RmaService.php +++ b/beike/Shop/Services/RmaService.php @@ -34,7 +34,7 @@ class RmaService 'customer_id' => $customer->id, 'name' => $customer->name, 'email' => $customer->email, - 'telephone' => $customer->telephone ?? '', + 'telephone' => $customer->telephone ?? ($orderProduct->order->telephone ?: $orderProduct->order->shipping_telephone), 'product_name' => $orderProduct->name, 'sku' => $orderProduct->product_sku, 'quantity' => $data['quantity'],