This commit is contained in:
aozhiwei 2022-09-15 20:06:27 +08:00
parent d0c3299e3e
commit 65bff65cf6

View File

@ -7,7 +7,6 @@
#include <a8/collision.h>
#include "framework/cpp/utils.h"
#include "framework/cpp/httpclientpool.h"
#include "human.h"
#include "cs_proto.pb.h"
@ -36,6 +35,7 @@
#include "explosion.h"
#include "killmgr.h"
#include "tracemgr.h"
#include "httpproxy.h"
const int kReviveTimeAdd = 12;
const int kSkinNum = 4;
@ -2387,7 +2387,7 @@ void Human::SendBattleReport()
}
std::string data;
params->ToUrlEncodeStr(data);
f8::HttpClientPool::Instance()->HttpGet
HttpProxy::Instance()->HttpGet
(
a8::XParams()
.SetSender(room->GetRoomUuid())
@ -2396,8 +2396,7 @@ void Human::SendBattleReport()
on_ok,
on_error,
url.c_str(),
*params,
MAX_SYS_HTTP_NUM + (GetUniId() % MAX_USER_HTTP_NUM)
*params.get()
);
}