class ProjectController {

    @RequestMapping(value = "/check")
    public ConfigCkeckResult check(@CurrentUser LoginUser user, @RequestParam("id") Long id) throws Exception {
        Project project = projectDao.getProjectByID(id);
        ConfigCkeckResult<List<ConfigDataResponse>> sr = projectService.getCheckData(user, project);
        if (sr.getCode() == ConfigCkeckResult.ERROR) {
            return sr;
        }
        return ConfigCheckBase.checkData(sr.getItem());
    }

}