public static ResourceDO buildPluginResource(final String pluginName) {
        return ResourceDO.buildResourceDO(ResourceDTO.builder()
                .parentId(AdminConstants.RESOURCE_PLUGIN_ID)
                .title(pluginName)
                .name(pluginName)
                .url(AdminConstants.RESOURCE_PLUGIN_URL_PREFIX + pluginName)
                .component(pluginName)
                .resourceType(AdminResourceEnum.SECOND_MENU.getCode())
                .sort(0)
                .icon(AdminConstants.RESOURCE_PLUGIN_DEFAULT_ICON)
                .isLeaf(Boolean.FALSE)
                .isRoute(0)
                .status(1)
                .perms(StringUtils.EMPTY)
                .build());
    }
build plugin resource.

@param pluginName plugin name
@return resource
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/ResourceUtil.java