public Result<Boolean> deleteConfig(ConfigInfo request) {
        Result<Boolean> checkResult = checkConnection(request);
        if (!checkResult.isSuccess()) {
            return checkResult;
        }
        String group = request.getGroup();
        ConfigClient client = getConfigClient(request.getNamespace());
        if (client instanceof NacosClient) {
            group = NacosUtils.rebuildGroup(request.getGroup());
        }
        boolean result = client.removeConfig(request.getKey(), group);
        if (result) {
            return new Result<>(ResultCodeType.SUCCESS.getCode(), null, true);
        }
        return new Result<>(ResultCodeType.DELETE_FAIL.getCode(), null, false);
    }
@Test
    public void deleteConfig() {
        ConfigInfo configInfo = new ConfigInfo();
        configInfo.setGroup(GROUP);
        configInfo.setKey(KEY);
        Result<Boolean> result = configService.deleteConfig(configInfo);
        Assert.assertTrue(result.isSuccess());
        Assert.assertTrue(result.getData());
    }