|
@@ -30,7 +30,8 @@ public class ParseInstallPackageController {
|
|
|
@RequestParam String appType) {
|
|
|
Result<Map<String, String>> result = new Result<>();
|
|
|
//在此不需要判断安装包类型拼接后缀
|
|
|
- String installPath="C:\\Users\\Arc\\Desktop\\install"+System.currentTimeMillis();
|
|
|
+ //String installPath="C:\\Users\\Arc\\Desktop\\install"+System.currentTimeMillis();
|
|
|
+ String installPath="\\data\\webpackage\\install"+System.currentTimeMillis();
|
|
|
byte[] bytes = restTemplate.postForObject(installUrl, null, byte[].class);
|
|
|
if (null == bytes || bytes.length == 0) {
|
|
|
result.error500("请输入正确的下载链接");
|