|
@@ -845,7 +845,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
File fileData = new File(SceneResourcePath.nasBasePath + sourcePath);
|
|
|
if(fileData.exists()){
|
|
|
if(targetPath.contains("images")){
|
|
|
- // sceneCommonService.delLink(SceneResourcePath.nasBasePath + sourcePath);
|
|
|
+ sceneCommonService.delLink(SceneResourcePath.nasBasePath + sourcePath);
|
|
|
}
|
|
|
cn.hutool.core.io.FileUtil.copyContent(fileData,new File(SceneResourcePath.nasBasePath + targetPath),true);
|
|
|
}
|