class ServerGroupController {

    @RequestMapping(value = "/check")
    public ConfigCkeckResult<ConfigCheckItem> check(@RequestParam("id") Long id, @CurrentUser LoginUser user) throws Exception {
        ServerGroup serverGroup = serverGroupDaoOld.getServerGroupById(id);
        List<ConfigDataResponse> list = serverGroupService.getCheckData(user, serverGroup);
        return ConfigCheckBase.checkData(list);
    }

}