1
This commit is contained in:
parent
360ec46961
commit
2884fdc92a
@ -608,8 +608,14 @@ void RoomMgr::SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
|||||||
url_params->SetVal("account_id", join_msg->account_id());
|
url_params->SetVal("account_id", join_msg->account_id());
|
||||||
url_params->SetVal("session_id", join_msg->session_id());
|
url_params->SetVal("session_id", join_msg->session_id());
|
||||||
url_params->SetVal("version", 1);
|
url_params->SetVal("version", 1);
|
||||||
//url_params->SetVal("__POST", join_msg->payload_data());
|
url_params->SetVal("__POST", join_msg->payload_data());
|
||||||
HttpProxy::Instance()->HttpPost
|
std::string post_data;
|
||||||
|
{
|
||||||
|
//a8::XObject post_obj;
|
||||||
|
//post_obj.ReadFromJsonString(join_msg->payload_data());
|
||||||
|
//post_data = post_obj.ToJsonStr();
|
||||||
|
}
|
||||||
|
HttpProxy::Instance()->HttpGet
|
||||||
(
|
(
|
||||||
[cb, custom_room_type]
|
[cb, custom_room_type]
|
||||||
(bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx)
|
(bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx)
|
||||||
@ -662,8 +668,7 @@ void RoomMgr::SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
url,
|
url,
|
||||||
url_params,
|
url_params
|
||||||
join_msg->payload_data()
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user