@GetMapping("")
    public AdminResult<CommonPager<SelectorVO>> querySelectors(final String pluginId, final String name,
                                                               @RequestParam @NotNull final Integer currentPage,
                                                               @RequestParam @NotNull final Integer pageSize,
                                                               @RequestParam(value = "namespaceId", required = false) final String namespaceId
    ) {
        final SelectorQueryCondition condition = new SelectorQueryCondition();
        condition.setUserId(SessionUtil.visitor().getUserId());
        condition.setPlugin(ListUtil.of(pluginId));
        condition.setKeyword(name);
        if (Objects.nonNull(namespaceId)) {
            condition.setNamespaceId(namespaceId);
        }
        return searchAdaptor(new PageCondition<>(currentPage, pageSize, condition));
    }
query Selectors.

@param pluginId    plugin id.
@param name        selector name.
@param currentPage current page.
@param pageSize    page size.
@param namespaceId namespaceId.
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/SelectorController.java