|
@@ -61,10 +61,10 @@ public class ExceedSpaceSceneServiceImpl extends ServiceImpl<IExceedSpaceSceneMa
|
|
|
this.save(scene);
|
|
|
|
|
|
//删除原始资源
|
|
|
-// if(fileId.length() > 1 && unicode.length() > 1){
|
|
|
-// String homePath = ConstantFilePath.OSS_PREFIX.concat(snCode).concat("/").concat(fileId).concat("/").concat(unicode);
|
|
|
-// fYunFileService.deleteFolder(homePath);
|
|
|
-// }
|
|
|
+ if(fileId.length() > 1 && unicode.length() > 1){
|
|
|
+ String homePath = ConstantFilePath.OSS_PREFIX.concat(snCode).concat("/").concat(fileId).concat("/").concat(unicode);
|
|
|
+ fYunFileService.deleteFolder(homePath);
|
|
|
+ }
|
|
|
|
|
|
//记录删除原始资源记录
|
|
|
SceneCleanOrig sceneCleanOrig = new SceneCleanOrig();
|