lyhzzz 1 ヶ月 前
コミット
a24f480f25

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

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