This commit is contained in:
aozhiwei 2020-06-17 13:28:12 +08:00
parent 4f6397210a
commit 1adf9d3647
2 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,11 @@ void JsonDataMgr::Init()
std::string imserver_cluster_json_file;
std::string masterserver_cluster_json_file;
std::string mysql_cluster_json_file;
mysql_cluster_json_file = a8::Format("%s/node1/friend.imserver.mysql.cluster.json",
{
work_path_,
});
imserver_cluster_json_file = a8::Format("%s/node1/friend.imserver.cluster.json",
{
work_path_,

View File

@ -15,6 +15,7 @@ class JsonDataMgr : public a8::Singleton<JsonDataMgr>
private:
std::string work_path_ = "../config";
a8::XObject mysql_cluster_json_;
a8::XObject imserver_cluster_json_;
a8::XObject masterserver_cluster_json_;
};