@PostMapping("/plugin/selector/saveOrUpdate")
    public Mono<String> saveSelector(@RequestBody final SelectorData selectorData) {
        if (StringUtils.isEmpty(selectorData.getPluginName())) {
            return Mono.just("Error: please add pluginName!");
        }
        SelectorData defaultSelectorData = buildDefaultSelectorData(selectorData);
        subscriber.onSelectorSubscribe(defaultSelectorData);
        saveDiscoveryUpstreamData(defaultSelectorData);
        return Mono.just(selectorData.getId());
    }
Save selector mono.

@param selectorData the selector data
@return the mono
shenyu-web/src/main/java/org/apache/shenyu/web/controller/LocalPluginController.java