|
@@ -186,7 +186,9 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
FileUtils.copyDirectiory(scenePath, newScenePath);
|
|
|
}
|
|
|
|
|
|
- String newVideos = plusExt.getVideos().replaceAll("https://4dkk.4dage.com/data/data" + num, "https://4dkk.4dage.com/scene_view_data/" + newNum + "/data");
|
|
|
+ String oldDataViewPath = String.format("scene_view_data/%s/data", num);
|
|
|
+ String newDataViewPath = String.format("scene_view_data/%s/data", newNum);
|
|
|
+ String newVideos = plusExt.getVideos().replaceAll(oldDataViewPath, newDataViewPath);
|
|
|
String oldDataSource = plusExt.getDataSource();
|
|
|
String newDataSource = sceneProService.setDataSource(plusExt.getDataSource(),time);
|
|
|
|