@GetMapping("/config")
    public Result<ConfigInfo> getConfig(ConfigInfo configInfo) {
        if (StringUtils.isEmpty(configInfo.getGroup()) || StringUtils.isEmpty(configInfo.getKey())) {
            return new Result<>(ResultCodeType.MISS_PARAM.getCode(), ResultCodeType.MISS_PARAM.getMessage());
        }
        return configService.getConfig(configInfo);
    }
@Test
    public void getConfig() {
        Result<ConfigInfo> result = configController.getConfig(configInfo);
        Assert.assertTrue(result.isSuccess());
        Assert.assertNotNull(result.getData());
        ConfigInfo info = result.getData();
        Assert.assertEquals(info.getKey(), KEY);
        Assert.assertEquals(info.getGroup(), GROUP);
        Assert.assertEquals(info.getServiceName(), SERVICE_NAME);
        Assert.assertEquals(info.getContent(), CONTENT);
    }