heheng
2026-04-10 f038e7d0338375025baa96986c5f1990abd990b9
gkhy-common/src/main/java/com/gkhy/common/utils/SecurityUtils.java
@@ -51,6 +51,19 @@
        }
    }
    public static Long[] getDeptIds()
    {
        try
        {
            return getLoginUser().getDeptIds();
        }
        catch (Exception e)
        {
            throw new ServiceException("获取部门ID异常", HttpStatus.UNAUTHORIZED);
        }
    }
    /**
     * 获取用户账户
     **/