疯狂的狮子li
2021-08-12 8adbdee9d95a25717dbd6f88218de16fd34c9fdb
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);
        }
    }