@PutMapping("/createPluginResource/{id}")
    @RequiresPermissions("system:plugin:resource")
    public ShenyuAdminResult createPluginResource(@PathVariable("id")
                                                  @Existed(message = "plugin is not existed",
                                                          provider = PluginMapper.class) final String id,
                                                  @Valid @RequestBody final PluginDTO pluginDTO) {
        pluginDTO.setId(id);
        return ShenyuAdminResult.success(pluginService.createPluginResource(pluginDTO));
    }
create plugin resource.
@param id primary key
@param pluginDTO plugin
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/PluginController.java