This commit is contained in:
aozhiwei 2020-08-26 15:05:26 +08:00
parent 1f8ed08d76
commit 0b5b069153

View File

@ -2540,10 +2540,17 @@ void Human::SendBattleReport()
}
} else {
if (JsonDataMgr::Instance()->channel != 0) {
url = a8::Format("http://game2004api.kingsome.cn/%d/webapp/index.php?c=Role&a=battleReport",
{
JsonDataMgr::Instance()->channel
});
if (kTouTiaoChannelId == JsonDataMgr::Instance()->channel) {
url = a8::Format("http://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",
{
JsonDataMgr::Instance()->channel
});
}
} else {
url = "http://game2004api.kingsome.cn/webapp/index.php?c=Role&a=battleReport";
}