Commit 578cabb2 authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent 938e657c
...@@ -416,7 +416,7 @@ public class SstBasicController extends BaseCRUDJsonBodyMappingController<SstBas ...@@ -416,7 +416,7 @@ public class SstBasicController extends BaseCRUDJsonBodyMappingController<SstBas
Integer serverPort = DataUtil.converStr2Int(request.getHeader("server-port"),0); Integer serverPort = DataUtil.converStr2Int(request.getHeader("server-port"),0);
if (!ObjectUtils.isEmpty(serverName) && Validator.isIpv4(serverName)) { if (!ObjectUtils.isEmpty(serverName) && Validator.isIpv4(serverName)) {
host = UrlBuilder.ofHttp(serverName).setPort(serverPort > 0 ? serverPort : 11078).build(); 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 { }else {
host=""; 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