lyhzzz hace 2 semanas
padre
commit
c13708675b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/com/fdkankan/fusion/down/CaseDownService.java

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

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