| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.vos.grid.EventGridCommunityAdminVO; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | pageComActDTO.setAreaCode(this.getAreaCode()); |
| | | return communityService.pageCommunity(pageComActDTO); |
| | | } |
| | | @ApiOperation(value = "查询所有社区列表", response = EventGridCommunityAdminVO.class) |
| | | @GetMapping("/community/list") |
| | | public R getCommunityLists() { |
| | | return communityService.getCommunityLists(); |
| | | } |
| | | |
| | | @ApiOperation(value = "所在地地址下拉列表", response = ComMngStructAreaDistrictVO.class) |
| | | @PostMapping("listarea") |