疯狂的狮子li
2021-08-11 a48154a2ee94c9346309af1a9e270e47b6d9eb42
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);
        }
    }