소스 검색

Merge branch 'task-del-home' into test

lyhzzz 2 년 전
부모
커밋
c603245407
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/main/java/com/fdkankan/ucenter/service/impl/SceneCommonService.java

+ 1 - 2
src/main/java/com/fdkankan/ucenter/service/impl/SceneCommonService.java

@@ -129,6 +129,7 @@ public class SceneCommonService {
         }
 
         if(StringUtils.isNotBlank(fileContent)){
+            //v3编辑器使用
             String localPath = SceneResourcePath.nasBasePath + targetPath +"/scene.json";
             File file = new File(localPath);
             if(!file.getParentFile().exists()){
@@ -160,8 +161,6 @@ public class SceneCommonService {
                 }
             }catch (Exception e){
                 log.error("writeFile-error:{}",e);
-            }finally {
-                FileUtil.del(localPath);
             }
 
         }