@RequestMapping(value = "/add", method = RequestMethod.POST)
    public boolean add(final @RequestBody RegistryCenterConfiguration config) {
        return regCenterService.add(config);
    }
@RequestMapping(value = "/add", method = RequestMethod.POST)
    public boolean add(final @RequestBody RegistryCenterConfiguration config) {
        return regCenterService.add(config);
    }
@ RequestMapping ( value = "/add" , method = RequestMethod . POST ) public boolean add ( final @ RequestBody RegistryCenterConfiguration config ) { return regCenterService . add ( config ) ; }
添加注册中心.

@param config 注册中心配置
@return 是否添加成功
添加注册中心 .