|
|
@@ -170,7 +170,11 @@ public class TaskService {
|
|
|
|
|
|
for (String meshPath : meshOssPath) {
|
|
|
log.info("del-scene:{},oss-path:{}",num,String.format(meshPath,num));
|
|
|
- fYunFileServiceInterface.deleteFolder(String.format(meshPath,num));
|
|
|
+ if(meshPath.contains(".zip")){
|
|
|
+ fYunFileServiceInterface.deleteFile(String.format(meshPath,num));
|
|
|
+ }else {
|
|
|
+ fYunFileServiceInterface.deleteFolder(String.format(meshPath,num));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
for (String meshPath : meshNasNumPath) {
|