发单膨胀

main
jcadmin 2026-06-27 17:49:20 +08:00
parent b37c60ac2a
commit 479fab6bfa
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ JS
return response()->json($this->jsonSuccess([ return response()->json($this->jsonSuccess([
'customer_id' => $order->customer_id, 'customer_id' => $order->customer_id,
'order_created_at' => $order->created_at, 'order_created_at' => $order->created_at ? $order->created_at->format('Y-m-d H:i:s') : '',
'customer_name' => $order->customer->name ?? '', 'customer_name' => $order->customer->name ?? '',
'customer_nickname' => $order->customer->nickname ?? '', 'customer_nickname' => $order->customer->nickname ?? '',
'customer_phone' => $order->customer->phone ?? '', 'customer_phone' => $order->customer->phone ?? '',