|
@@ -1448,6 +1448,9 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
sceneJson.setVideos(plusExt.getVideos());
|
|
|
}
|
|
|
|
|
|
+ String sceneJsonLocalPath = ConstantFilePath.SCENE_PATH + "data" + File.separator + "data" + num + File.separator + "scene.json";
|
|
|
+ FileUtils.writeFile(sceneJsonLocalPath,JSON.toJSONString(sceneJson));
|
|
|
+
|
|
|
String sceneJsonPath = String.format(UploadFilePath.DATA_VIEW_PATH+"scene.json", newNum);
|
|
|
uploadToOssUtil.upload(JSON.toJSONBytes(sceneJson), sceneJsonPath);
|
|
|
|