lyhzzz 6 mesi fa
parent
commit
1dc6abe99a

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

@@ -436,7 +436,9 @@ public class CaseDownService {
             if(res.contains(".json") || res.contains(".shp")){
             if(res.contains(".json") || res.contains(".shp")){
                 res = new File(res).getParentFile().getPath();
                 res = new File(res).getParentFile().getPath();
             }
             }
-            ShellUtil.yunDownload(res, path+"/oss/"+res);
+            String desPath = path+"/oss/"+res;
+            File file = new File(desPath);
+            ShellUtil.yunDownload(res,file.getParentFile().getPath());
         }
         }
     }
     }
     public void downResources(Integer caseId,String urls) {
     public void downResources(Integer caseId,String urls) {