1
This commit is contained in:
parent
ba2809123f
commit
db0d36269e
@ -93,22 +93,20 @@ void BoxDrop::RequestAllocBoxNum()
|
||||
{
|
||||
if (ok) {
|
||||
f8::UdpLog::Instance()->Info
|
||||
("GetBattleData ok %s",
|
||||
("RequestAllocBoxNum ok %s",
|
||||
{
|
||||
rsp_obj->ToJsonStr()
|
||||
});
|
||||
});
|
||||
if (rsp_obj->GetType() != a8::XOT_OBJECT ||
|
||||
!rsp_obj->HasKey("errcode")) {
|
||||
//cb(1, "", nullptr);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
f8::UdpLog::Instance()->Warning
|
||||
("GetCustomBattleData error %s",
|
||||
("RequestAllocBoxNum error %s",
|
||||
{
|
||||
""
|
||||
});
|
||||
//cb(1, "custom battle data error", nullptr);
|
||||
});
|
||||
}
|
||||
},
|
||||
url,
|
||||
|
@ -221,7 +221,7 @@ void HttpProxy::AddSignParams(const std::string& url,
|
||||
A8_ABORT();
|
||||
}
|
||||
std::string sign_data;
|
||||
sign_data.reserve(1024 * 10);
|
||||
sign_data.reserve(1024 * 64);
|
||||
int nowtime = f8::App::Instance()->GetNowTime();
|
||||
{
|
||||
std::vector<std::string> keys;
|
||||
|
@ -76,7 +76,7 @@ enum RoomSwitch_e
|
||||
kRoomSwitchDisableShot,
|
||||
};
|
||||
|
||||
class Room
|
||||
class Room : public std::enable_shared_from_this<Room>
|
||||
{
|
||||
public:
|
||||
FrameEvent frame_event;
|
||||
|
Loading…
x
Reference in New Issue
Block a user