提交 d42cae1eeaab4766903557735335b82d0e771c54

作者 LJH 李佳桓
1 个父辈 2b557101

l

... ... @@ -148,7 +148,7 @@ bool DmpServerManager::LoadServices()
148 148 {
149 149 boost::property_tree::ptree pt,ptList;
150 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 152 std::string strContent=DmpHttp::get(url);
153 153 if(strContent.length()==0)
154 154 {
... ...
... ... @@ -19,7 +19,7 @@
19 19 #include "dmpserverrequest.h"
20 20 #include "dmpserverregistry.h"
21 21
22   -
  22 +#define URI_RELOAD ("/API/Service/TileService/Reload") //加载已注册服务接口
23 23 class SERVER_EXPORT DmpServerManager
24 24 {
25 25 public:
... ...
注册登录 后发表评论