ソースを参照

恢复上一次调试

dsx 2 年 前
コミット
c5002118a0

+ 4 - 4
src/main/java/com/fdkankan/ucenter/service/impl/SceneProServiceImpl.java

@@ -809,10 +809,10 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
                     //上传资源到oss
                     uploadNewSceneToOss(newNum);
 
-//                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "images/images" + newNum);
-//                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "data/data" + newNum);
-//                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "voice/voice" + newNum);
-//                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "video/video" + newNum);
+                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "images/images" + newNum);
+                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "data/data" + newNum);
+                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "voice/voice" + newNum);
+                FileUtils.delFolder(ConstantFilePath.SCENE_PATH + "video/video" + newNum);
 
                 FileUtils.copyDirectiory(ConstantFilePath.SCENE_PATH +"images/images" + oldNum,ConstantFilePath.SCENE_PATH +"images/images" + newNum);
                 FileUtils.copyDirectiory(ConstantFilePath.SCENE_PATH +"data/data" + oldNum,ConstantFilePath.SCENE_PATH +"data/data" + newNum);