|
@@ -88,7 +88,12 @@ public class SceneService implements ISceneService {
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
}
|
|
}
|
|
List<TmCamera> tmCameraList = null;
|
|
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()) ){
|
|
if(StringUtils.isNotBlank(tokenValue) && StringUtils.isBlank(param.getShare()) ){
|
|
tmCameraList = tmCameraService.getByDeptIds();
|
|
tmCameraList = tmCameraService.getByDeptIds();
|