http->https
This commit is contained in:
parent
983277ae4a
commit
bb5bb8bdb9
@ -2548,7 +2548,7 @@ void Human::SendBattleReport()
|
||||
url = "http://192.168.100.41/webapp/index.php?c=Role&a=battleReport";
|
||||
} else {
|
||||
if (JsonDataMgr::Instance()->channel != 0) {
|
||||
url = a8::Format("http://game2004api-test.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
|
||||
url = a8::Format("https://game2004api-test.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
|
||||
{
|
||||
JsonDataMgr::Instance()->channel
|
||||
});
|
||||
@ -2559,18 +2559,18 @@ void Human::SendBattleReport()
|
||||
} else {
|
||||
if (JsonDataMgr::Instance()->channel != 0) {
|
||||
if (kTouTiaoChannelId == JsonDataMgr::Instance()->channel) {
|
||||
url = a8::Format("http://game2004api-al.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
|
||||
url = a8::Format("https://game2004api-al.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
|
||||
{
|
||||
JsonDataMgr::Instance()->channel
|
||||
});
|
||||
} else {
|
||||
url = a8::Format("http://game2004api.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
|
||||
url = a8::Format("https://game2004api.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
|
||||
{
|
||||
JsonDataMgr::Instance()->channel
|
||||
});
|
||||
}
|
||||
} else {
|
||||
url = "http://game2004api.kingsome.cn/webapp/index.php?c=Role&a=battleReport";
|
||||
url = "https://game2004api.kingsome.cn/webapp/index.php?c=Role&a=battleReport";
|
||||
}
|
||||
}
|
||||
JsonDataMgr::Instance()->GetBattleReportUrl(url);
|
||||
|
@ -374,7 +374,7 @@ void RoomMgr::ReportServerState(int instance_id, const std::string& host, int po
|
||||
},
|
||||
&RoomMgr::Instance()->reportstate_timer_attacher_.timer_list_);
|
||||
};
|
||||
std::string url = a8::Format("http://%s:%d/webapp/index.php?c=GS&a=report&",
|
||||
std::string url = a8::Format("https://%s:%d/webapp/index.php?c=GS&a=report&",
|
||||
{
|
||||
host,
|
||||
port
|
||||
|
Loading…
x
Reference in New Issue
Block a user