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