@ResponseBody @RequestMapping("/levelListXY") public PageResult getCountyLevelXY(String x, String y) { if (StringUtils.isEmpty(x) || StringUtils.isEmpty(y)) return getErrRes(ResultInfo.INF_EMPTY); PageResult pres = levelService.countyLevelsXY(x, y, getResult()); return pres; }
@ResponseBody @RequestMapping("/levelList") public PageResult getCountyLevel(String countyGuid) { if (StringUtils.isEmpty(countyGuid)) return getErrRes(ResultInfo.INF_EMPTY); List<CountyLevelView> list = levelService.countyLevels(countyGuid); res.put("result", list); return res; }