1
This commit is contained in:
parent
d0c3299e3e
commit
65bff65cf6
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user