class ApiExtController {

    @RequestMapping(value = "/check")
    public ServiceResult check(@RequestParam("appid") String appid) {
        try {
            if (null != appid) {
                Project project = projectDao.getProjectByAppId(appid);
                CheckIDsView checkIDsView = new CheckIDsView(project.getId(), project.getDal_group_id());
                return ServiceResult.success(checkIDsView);
            } else {
                return ServiceResult.fail("ApiExtController.data appid 为空");
            }
        } catch (Exception e) {
            return ServiceResult.fail("ApiExtController.data appid : " + appid + "   " + StringUtil.getMessage(e));
        }
    }

}