public static LoginUser getLoginUser() {
        // Go to get login information
        Context context = queryContext();
        if (context != null && context.getLoginUser() != null) {
            return context.getLoginUser();
        }
        // Determine that the user must log in
        throw new NeedLoggedInBusinessException();
    }
Get user information

@return If it cannot be obtained, a re-login exception will be thrown.
chat2db-server/chat2db-server-tools/chat2db-server-tools-common/src/main/java/ai/chat2db/server/tools/common/util/ContextUtils.java