|
@@ -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);
|
|
|
}
|
|
|
|
|
|
}
|