소스 검색

场景迁移后校验秘钥失败

dengsixing 3 년 전
부모
커밋
5b32141a3c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      4dkankan-center-scene/src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

+ 1 - 1
4dkankan-center-scene/src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

@@ -531,7 +531,6 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
 //        this.setExtData(sceneInfoVO, scenePlus.getCameraId());
 //        this.setExtData(sceneInfoVO, scenePlus.getCameraId());
         this.setExtDataFromV3(sceneInfoVO, scenePlus.getCameraId());
         this.setExtDataFromV3(sceneInfoVO, scenePlus.getCameraId());
         // TODO: 2022/4/24 v3版本停机要切换---------------------------end
         // TODO: 2022/4/24 v3版本停机要切换---------------------------end
-        sceneInfoVO.setScenePassword(null);
         if(Objects.isNull(sceneInfoVO.getFloorPlanAngle())){
         if(Objects.isNull(sceneInfoVO.getFloorPlanAngle())){
             sceneInfoVO.setFloorPlanAngle(0f);
             sceneInfoVO.setFloorPlanAngle(0f);
         }
         }
@@ -539,6 +538,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
             sceneInfoVO.setFloorPlanCompass(0f);
             sceneInfoVO.setFloorPlanCompass(0f);
         }
         }
         redisUtil.set(key, JSON.toJSONString(sceneInfoVO));
         redisUtil.set(key, JSON.toJSONString(sceneInfoVO));
+        sceneInfoVO.setScenePassword(null);
 
 
         return sceneInfoVO;
         return sceneInfoVO;
     }
     }