class ServerController {

    @RequestMapping(value = "/check")
    public ConfigCkeckResult<ConfigCheckItem> check(@CurrentUser LoginUser user, @RequestParam("id") Long id) throws Exception {
        Server server = serverDao.getServerById(id);
        List<ConfigDataResponse> list = serverService.getCheckData(user, server);
        return ConfigCheckBase.checkData(list);
    }

}