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

还原临时下载地址

parent df04841b
......@@ -1142,7 +1142,7 @@ public class DeviceApiController {
log.info("download:" + download);
}
}
String domain = GlobalSysInfo.getParamValue(PARAM_SERVER_HTTP_URL, "http://192.168.0.98:11091");
/* String domain = GlobalSysInfo.getParamValue(PARAM_SERVER_HTTP_URL, "http://192.168.0.98:11091");
if (!ObjectUtils.isEmpty(serverName) && Validator.isIpv4(serverName)) {
String str = UrlBuilder.ofHttp(serverName).setPort(serverPort > 0 ? serverPort : 11078).addPath(download).build();
String decodeStr = URLDecoder.decode(str, Charset.defaultCharset());
......@@ -1152,9 +1152,9 @@ public class DeviceApiController {
String str = UrlBuilder.of(domain.trim()).addPath(download).build();
String decodeStr = URLDecoder.decode(str, Charset.defaultCharset());
productVersionInfo.setDownloadUrl(decodeStr);
}
}*/
/* productVersionInfo.setDownloadUrl(download);*/
productVersionInfo.setDownloadUrl(download);
log.info("downurl:" + productVersionInfo.getDownloadUrl());
}
......
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