getOrderStatusList(); $order = $response['order']; $auth = $response['auth']??null; $data = [ 'order_id' => $order->id, 'order_status' => $order->status, 'remark' => $statusList[$order->status], 'admin_id' => $auth->id ?? 0, 'admin_user' => $auth->nickname ??'system' ]; $Model->save($data); } }