Commit e1aa1ea8 authored by 赵啸非's avatar 赵啸非

还原临时下载地址

parent fcb93e6e
......@@ -1141,7 +1141,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());
......@@ -1151,9 +1151,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