lyhzzz před 6 měsíci
rodič
revize
84fa8371b0

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

@@ -458,7 +458,9 @@ public class CaseDownService {
 //            return;
 //        }
         String path = String.format(FilePath.OFFLINE_OSS_PATH,caseId);
-        ShellUtil.yunDownload(url,path+"/oss/");
+        String desPath = path+"/oss/"+url;
+        File file = new File(desPath);
+        ShellUtil.yunDownload(url,file.getParentFile().getPath());
     }
 
     public void downWordByTemplate(Integer caseId,XWPFTemplate template,String name){