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