public static void checkDeskTopOrAdmin() {
        LoginUser loginUser = ContextUtils.getLoginUser();
        // Representative is desktop mode
        if (RoleCodeEnum.DESKTOP.getDefaultUserId().equals(loginUser.getId())) {
            return;
        }
        if (loginUser.getAdmin()) {
            return;
        }
        throw new PermissionDeniedBusinessException();
    }
Verify if it is an administrator

@return
chat2db-server/chat2db-server-domain/chat2db-server-domain-core/src/main/java/ai/chat2db/server/domain/core/util/PermissionUtils.java