|
@@ -436,7 +436,9 @@ public class CaseDownService {
|
|
|
if(res.contains(".json") || res.contains(".shp")){
|
|
|
res = new File(res).getParentFile().getPath();
|
|
|
}
|
|
|
- ShellUtil.yunDownload(res, path+"/oss/"+res);
|
|
|
+ String desPath = path+"/oss/"+res;
|
|
|
+ File file = new File(desPath);
|
|
|
+ ShellUtil.yunDownload(res,file.getParentFile().getPath());
|
|
|
}
|
|
|
}
|
|
|
public void downResources(Integer caseId,String urls) {
|