| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.community.ComMngCarAppletDTO; |
| | | import com.panzhihua.common.model.dtos.community.PageComActDTO; |
| | | import com.panzhihua.common.model.dtos.community.PageVolunteerDTO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | |
| | | @Resource |
| | | private UserService userService; |
| | | |
| | | @ApiOperation(value = "分页查询社区",response = ComActVO.class) |
| | | @PostMapping("pagecommunity") |
| | | public R pageCommunity(@RequestBody PageComActDTO pageComActDTO){ |
| | | return communityService.pageCommunity(pageComActDTO); |
| | | @ApiOperation(value = "分页查询小区",response =ComMngStructAreaVO.class ) |
| | | @PostMapping("pagearea") |
| | | public R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO){ |
| | | Long communityId = this.getCommunityId(); |
| | | comMngStructAreaVO.setCommunityId(communityId); |
| | | return communityService.pageArea(comMngStructAreaVO); |
| | | } |
| | | |
| | | @ApiOperation(value = "分页获取社区动态",response = ComActDynVO.class) |