| | |
| | | return ApiResponse.success("查询成功", areasService.getOpenedCityByName(cityName)); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据城市编码查询城市信息", notes = "仅返回已开通的城市,未开通返回空") |
| | | @GetMapping("/getCityByCode") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "code", value = "城市编码", required = true) |
| | | }) |
| | | public ApiResponse<Areas> getCityByCode(@RequestParam String code) { |
| | | return ApiResponse.success("查询成功", areasService.getOpenedCityByCode(code)); |
| | | } |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "会员通知消息分页", notes = "未读优先,时间倒序") |
| | | @PostMapping("/memberNoticePage") |