Commit 0d40636f authored by 赵啸非's avatar 赵啸非

修改添加部署文件

parent e9e015ea
......@@ -68,7 +68,7 @@ public class AppsInfoController extends BaseCRUDJsonBodyMappingController<AppsIn
Integer serverPort = DataUtil.converStr2Int(request.getHeader("server-port"),0);
if (!ObjectUtils.isEmpty(serverName) && Validator.isIpv4(serverName)) {
host = UrlBuilder.ofHttp(serverName).setPort(serverPort > 0 ? serverPort : 11078).build();
host = StrUtil.sub(host, 0, host.length() - 1);
// host = StrUtil.sub(host, 0, host.length() - 1);
}else {
host="";
}
......
......@@ -355,7 +355,7 @@ public class SstBasicController extends BaseCRUDJsonBodyMappingController<SstBas
Integer serverPort = DataUtil.converStr2Int(request.getHeader("server-port"),0);
if (!ObjectUtils.isEmpty(serverName) && Validator.isIpv4(serverName)) {
host = UrlBuilder.ofHttp(serverName).setPort(serverPort > 0 ? serverPort : 11078).build();
host = StrUtil.sub(host, 0, host.length() - 1);
//host = StrUtil.sub(host, 0, host.length() - 1);
}else {
host="";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment