|
@@ -510,7 +510,10 @@ 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().getPath();
|
|
|
+ }
|
|
|
+ if(!res.contains(".")){
|
|
|
+ res += "/";
|
|
|
}
|
|
|
ShellUtil.yunDownload(res, path + "/oss/" + res);
|
|
|
}
|