|
@@ -185,8 +185,11 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
String newScenePath = ConstantFilePath.SCENE_V4_PATH + newNum;
|
|
|
FileUtils.copyDirectiory(scenePath, newScenePath);
|
|
|
}
|
|
|
+ String newVideos = plusExt.getVideos();
|
|
|
+ if(StrUtil.isNotEmpty(newVideos)){
|
|
|
+ newVideos = plusExt.getVideos().replaceAll("/data/data" + num, "/scene_view_data/" + newNum + "/data").replaceAll(num, newNum);
|
|
|
+ }
|
|
|
|
|
|
- String newVideos = plusExt.getVideos().replaceAll("https://4dkk.4dage.com/data/data" + num, "https://4dkk.4dage.com/scene_view_data/" + newNum + "/data");
|
|
|
String oldDataSource = plusExt.getDataSource();
|
|
|
String newDataSource = sceneProService.setDataSource(plusExt.getDataSource(),time);
|
|
|
|