sth
This commit is contained in:
parent
dbe39286a3
commit
970ad2e58b
|
|
@ -10,11 +10,16 @@ class OrderLog
|
||||||
$Model = new \app\admin\model\OrderLog();
|
$Model = new \app\admin\model\OrderLog();
|
||||||
$statusList = $Model->getOrderStatusList();
|
$statusList = $Model->getOrderStatusList();
|
||||||
$order = $response['order'];
|
$order = $response['order'];
|
||||||
|
$role = $response['role'];
|
||||||
$auth = $response['auth']??null;
|
$auth = $response['auth']??null;
|
||||||
|
$remark = $response['remark'] ?? '';
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'order_id' => $order->id,
|
'order_id' => $order->id,
|
||||||
'order_status' => $order->status,
|
'order_status' => $order->status,
|
||||||
'remark' => $statusList[$order->status],
|
'order_status_text' => $statusList[$order->status],
|
||||||
|
'role' => $role,
|
||||||
|
'remark' => $remark,
|
||||||
'admin_id' => $auth->id ?? 0,
|
'admin_id' => $auth->id ?? 0,
|
||||||
'admin_user' => $auth->nickname ??'system'
|
'admin_user' => $auth->nickname ??'system'
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user