ruoyi-common/src/main/java/com/ruoyi/common/utils/SecurityUtils.java
@@ -25,7 +25,7 @@ } catch (Exception e) { throw new CustomException("获取用户ID异常", HttpStatus.UNAUTHORIZED); throw new CustomException("获取用户ID异常", HttpStatus.HTTP_UNAUTHORIZED); } } @@ -40,7 +40,7 @@ } catch (Exception e) { throw new CustomException("获取部门ID异常", HttpStatus.UNAUTHORIZED); throw new CustomException("获取部门ID异常", HttpStatus.HTTP_UNAUTHORIZED); } }