|
@@ -528,6 +528,7 @@ public class CaseDownService {
|
|
|
url = url.replace(queryPath, "");
|
|
|
String path = String.format(FilePath.OFFLINE_OSS_PATH,caseId);
|
|
|
String desPath = path + "/oss/" + url;
|
|
|
+ log.info("downResource:{}",url);
|
|
|
if(!desPath.contains(".")){
|
|
|
ShellUtil.yunDownload(url, new File(desPath).getParentFile().getPath());
|
|
|
return;
|
|
@@ -542,6 +543,7 @@ public class CaseDownService {
|
|
|
url = url.replace(queryPath, "");
|
|
|
String path = String.format(FilePath.OFFLINE_OSS_PATH,caseId);
|
|
|
String desPath = path + "/oss/" + url;
|
|
|
+ log.info("downResourceParent:{}",url);
|
|
|
ShellUtil.yunDownload(new File(url).getParentFile().getPath(), new File(desPath).getParentFile().getParentFile().getPath());
|
|
|
}
|
|
|
|