|
@@ -473,7 +473,7 @@ public class CaseDownService {
|
|
for (Object object : jsonArray) {
|
|
for (Object object : jsonArray) {
|
|
String res = (String) object;
|
|
String res = (String) object;
|
|
log.info("下载模型:{}",res);
|
|
log.info("下载模型:{}",res);
|
|
- if(res.contains(".json") || res.contains(".shp")){
|
|
|
|
|
|
+ if(res.contains(".json") || res.contains(".shp") || res.contains(".obj")){
|
|
res = new File(res).getParentFile().getPath();
|
|
res = new File(res).getParentFile().getPath();
|
|
}
|
|
}
|
|
localToOssUtil.downForm(res,path+queryPath+res);
|
|
localToOssUtil.downForm(res,path+queryPath+res);
|