diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 32af722..0ffbcec 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1867,6 +1867,10 @@ void Human::InternalSendGameOver() }; auto on_error = [] (a8::XParams& param, const std::string& response) { + a8::UdpLog::Instance()->Error("battleReport params: ", + { + param.param2 + }); long long room_uuid = param.sender; int hum_uniid = param.param1; Room* room = RoomMgr::Instance()->GetRoomByUuid(room_uuid); @@ -1892,10 +1896,13 @@ void Human::InternalSendGameOver() } else { url = "https://game2001api.kingsome.cn/webapp/index.php?c=Role&a=battleReport"; } + std::string data; + params->ToUrlEncodeStr(data); f8::HttpClientPool::Instance()->HttpGet( a8::XParams() .SetSender(room->room_uuid) .SetParam1(entity_uniid), + .SetParam2(data), on_ok, on_error, url.c_str(),