| | |
| | | return R.fail("请先绑定社区"); |
| | | } |
| | | neighborCircleAppDTO.setCommunityId(communityId); |
| | | |
| | | Long userId = this.getLoginUserInfo().getUserId(); |
| | | if(userId != null){ |
| | | neighborCircleAppDTO.setUserId(userId); |
| | | } |
| | | return communityService.pageNeighborByApp(neighborCircleAppDTO); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "查询邻里圈详情" , response = ComActNeighborCircleDetailAppVO.class) |
| | | @PostMapping("detail") |
| | | public R neighborDetailByApp(@RequestBody ComActNeighborCircleDetailAppDTO neighborCircleAppDTO) { |
| | | Long userId = this.getLoginUserInfo().getUserId(); |
| | | if(userId == null){ |
| | | return R.fail("请先登录"); |
| | | } |
| | | neighborCircleAppDTO.setUserId(userId); |
| | | return communityService.neighborDetailByApp(neighborCircleAppDTO); |
| | | } |
| | | |