|
@@ -239,11 +239,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
param.getSidList().stream().forEach(sid->{
|
|
|
String ossPath = String.format(UploadFilePath.USER_EDIT_PATH, param.getNum()) + "hotspot/" + sid + "/";
|
|
|
if(CollUtil.isNotEmpty(fYunFileService.listRemoteFiles(ossPath))){
|
|
|
- try {
|
|
|
- fYunFileService.deleteFile(ossPath);
|
|
|
- } catch (IOException e) {
|
|
|
- log.warn("删除热点切图失败");
|
|
|
- }
|
|
|
+ fYunFileService.deleteFolder(ossPath);
|
|
|
}
|
|
|
});
|
|
|
|