This commit is contained in:
aozhiwei 2023-03-10 16:36:28 +08:00
parent bc43fad59a
commit 4d4ed4f0de

View File

@ -1431,18 +1431,18 @@ void Human::SendBattleSettlement()
}
#endif
long long room_uuid = room->GetRoomUuid();
std::string account_id = account_id;
std::string tmp_account_id = account_id;
HttpProxy::Instance()->HttpGet
(
[room_uuid, account_id, data]
[room_uuid, tmp_account_id, data]
(bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx)
{
Room* room = RoomMgr::Instance()->GetRoomByUuid(room_uuid);
if (!room) {
return;
}
Player* hum = room->GetPlayerByAccountId(account_id);
Player* hum = room->GetPlayerByAccountId(tmp_account_id);
if (!hum) {
return;
}