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