@PutMapping("/config")
    public Result<Boolean> updateConfig(@RequestBody ConfigInfo configInfo) {
        if (StringUtils.isEmpty(configInfo.getGroup()) || StringUtils.isEmpty(configInfo.getKey())
                || StringUtils.isEmpty(configInfo.getContent())) {
            return new Result<>(ResultCodeType.MISS_PARAM.getCode(), ResultCodeType.MISS_PARAM.getMessage());
        }
        Result<List<ConfigInfo>> result = configService.getConfigList(configInfo, PluginType.OTHER, true);
        if (result.isSuccess() && CollectionUtils.isEmpty(result.getData())) {
            return new Result<>(ResultCodeType.NOT_EXISTS.getCode(), ResultCodeType.NOT_EXISTS.getMessage());
        }
        return configService.publishConfig(configInfo);
    }
@Test
    public void updateConfig() {
        Result<Boolean> result = configController.updateConfig(configInfo);
        Assert.assertTrue(result.isSuccess());
    }