From fb12c701bd06c4c03e26a90b7cb50acd264c2339 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 9 Nov 2020 16:54:48 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 331938b..7d4aa75 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2555,6 +2555,12 @@ void Human::SendBattleReport() url = "http://game2004api.kingsome.cn/webapp/index.php?c=Role&a=battleReport"; } } + if (GAME_ID == 2001) { + url = "https://game2001api-test.kingsome.cn/webapp/index.php?c=Role&a=battleReport"; + if (JsonDataMgr::Instance()->channel == 5991) { + url = "https://game2001api-banshu.kingsome.cn/webapp/index.php?c=Role&a=battleReport"; + } + } std::string data; params->ToUrlEncodeStr(data); f8::HttpClientPool::Instance()->HttpGet(