正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -148,7 +148,7 @@ bool DmpServerManager::LoadServices() | @@ -148,7 +148,7 @@ bool DmpServerManager::LoadServices() | ||
148 | { | 148 | { |
149 | boost::property_tree::ptree pt,ptList; | 149 | boost::property_tree::ptree pt,ptList; |
150 | std::string conn = DmpServerConfig::Instance()->getMetaUrl(); | 150 | std::string conn = DmpServerConfig::Instance()->getMetaUrl(); |
151 | - const std::string url= conn + "/API/Service/TileService/Reload"; | 151 | + const std::string url= conn + URI_RELOAD; |
152 | std::string strContent=DmpHttp::get(url); | 152 | std::string strContent=DmpHttp::get(url); |
153 | if(strContent.length()==0) | 153 | if(strContent.length()==0) |
154 | { | 154 | { |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | #include "dmpserverrequest.h" | 19 | #include "dmpserverrequest.h" |
20 | #include "dmpserverregistry.h" | 20 | #include "dmpserverregistry.h" |
21 | 21 | ||
22 | - | 22 | +#define URI_RELOAD ("/API/Service/TileService/Reload") //加载已注册服务接口 |
23 | class SERVER_EXPORT DmpServerManager | 23 | class SERVER_EXPORT DmpServerManager |
24 | { | 24 | { |
25 | public: | 25 | public: |
请
注册
或
登录
后发表评论