Browse Source

fix on 2020.9.23

jiequan.bi 4 years ago
parent
commit
304efb87d7

+ 2 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/tool/controller/ParseInstallPackageController.java

@@ -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("请输入正确的下载链接");