|
@@ -1446,6 +1446,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
|
|
|
sceneJson.setSceneResolution(plusExt.getSceneResolution());
|
|
|
sceneJson.setSceneFrom(plusExt.getSceneFrom());
|
|
|
+ sceneJson.setSceneKind(plusExt.getSceneKind());
|
|
|
if(StrUtil.isNotEmpty(plusExt.getVideos())){
|
|
|
sceneJson.setVideos(plusExt.getVideos());
|
|
|
}
|
|
@@ -1457,6 +1458,9 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
String sceneJsonPath = String.format(UploadFilePath.DATA_VIEW_PATH+"scene.json", newNum);
|
|
|
uploadToOssUtil.upload(JSON.toJSONBytes(sceneJson), sceneJsonPath);
|
|
|
|
|
|
+ //删除scenejson缓存
|
|
|
+ redisUtil.del(String.format(RedisKey.SCENE_JSON, num));
|
|
|
+
|
|
|
|
|
|
// 生成二维码
|
|
|
String sceneUrl = mainUrl + "/" + sceneProNewUrl;
|