lyhzzz 2 тижнів тому
батько
коміт
ca800d33c6

+ 3 - 2
src/main/java/com/fdkankan/fusion/down/CaseDownService.java

@@ -505,10 +505,11 @@ public class CaseDownService {
             String res = (String) object;
             log.info("下载模型:{}",res);
             res = res.replace(queryPath, "");
+            String desPath = path + "/oss/" + res;
             if(res.contains(".json") ){
-                res = new File(res).getParentFile().getParentFile().getPath();
+                res = new File(res).getParentFile().getPath();
+                desPath = path + "/oss/" +   new File(res).getParentFile().getPath();
             }
-            String desPath = path + "/oss/" + res;
             ShellUtil.yunDownload(res, desPath);
         }
     }