heheng
2025-06-16 2892b2a80babdde59f8dcf6750b26870a6d6a853
multi-common/src/main/java/com/gkhy/exam/common/utils/SecurityUtils.java
@@ -48,6 +48,24 @@
    /*
     **
     * 用户ID
     **/
    public static Long getCompanyId()
    {
        try
        {
            return getLoginUser().getUser().getCompanyId();
        }
        catch (Exception e)
        {
            throw new ApiException("获取用户公司异常");
        }
    }
    /**
     * 获取用户账户
     **/