This commit is contained in:
aozhiwei 2019-12-13 14:35:31 +08:00
parent ab595fbafb
commit 367d175be4

View File

@ -36,29 +36,29 @@ void JsonDataMgr::Init()
wsproxyserver_cluster_json_file = a8::Format("%s/node%d/game%d.wsproxy.cluster.json",
{
work_path_,
GAME_ID,
App::Instance()->node_id,
GAME_ID
});
masterserver_cluster_json_file = a8::Format("%s/node%d/game%d.masterserver.cluster.json",
{
work_path_,
GAME_ID,
App::Instance()->node_id,
GAME_ID
});
routing_tables_json_file = a8::Format("%s/routing_tables.json",
{
GAME_ID
work_path_
});
#else
std::string targetserver_cluster_json_file;
wsproxyserver_cluster_json_file = a8::Format("%s/game%d.wsproxy.cluster.json",
{
work_path_,
GAME_ID
});
targetserver_cluster_json_file = a8::Format("%s/game%d.gameserver.cluster.json",
{
work_path_,
GAME_ID
});
#endif