lyhzzz 6 月之前
父節點
當前提交
17d1d103d8
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/main/java/com/fdkankan/fusion/service/impl/SceneService.java

+ 6 - 1
src/main/java/com/fdkankan/fusion/service/impl/SceneService.java

@@ -88,7 +88,12 @@ public class SceneService implements ISceneService {
            throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
         }
         List<TmCamera> tmCameraList = null;
-        String tokenValue = StpUtil.getTokenValue();
+        String tokenValue = null;
+        try {
+             tokenValue = StpUtil.getTokenValue();
+        }catch (Exception e){
+
+        }
 
         if(StringUtils.isNotBlank(tokenValue) && StringUtils.isBlank(param.getShare()) ){
             tmCameraList = tmCameraService.getByDeptIds();