This commit is contained in:
xman 2025-03-06 15:49:37 +08:00
parent dbe39286a3
commit 970ad2e58b

View File

@ -10,11 +10,16 @@ class OrderLog
$Model = new \app\admin\model\OrderLog();
$statusList = $Model->getOrderStatusList();
$order = $response['order'];
$role = $response['role'];
$auth = $response['auth']??null;
$remark = $response['remark'] ?? '';
$data = [
'order_id' => $order->id,
'order_status' => $order->status,
'remark' => $statusList[$order->status],
'order_status_text' => $statusList[$order->status],
'role' => $role,
'remark' => $remark,
'admin_id' => $auth->id ?? 0,
'admin_user' => $auth->nickname ??'system'
];