售后申请自动取订单的电话号码
https://guangdagit.com/beike/beikeshop/issues/268#issuecomment-19073
This commit is contained in:
parent
100333d56f
commit
1a23c49f90
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue