售后申请自动取订单的电话号码

https://guangdagit.com/beike/beikeshop/issues/268#issuecomment-19073
This commit is contained in:
TL 2023-01-12 15:48:15 +08:00
parent 100333d56f
commit 1a23c49f90
1 changed files with 1 additions and 1 deletions

View File

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