lyhzzz 6 mēneši atpakaļ
vecāks
revīzija
17d1d103d8

+ 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();