| | |
| | | return communityService.deleteDynamic(comActDynVO); |
| | | } |
| | | |
| | | @ApiOperation(value = "分页查询社区动态") |
| | | @ApiOperation(value = "分页查询社区动态", response = ComActDynVO.class) |
| | | @PostMapping("pagedynamic") |
| | | public R pageDynamic(@RequestBody ComActDynVO comActDynVO) { |
| | | Long communityId = this.getCommunityId(); |
| | |
| | | return communityService.pageDynamicByAdmin(comActDynVO); |
| | | } |
| | | |
| | | @ApiOperation(value = "社区动态详情") |
| | | @ApiOperation(value = "社区动态详情", response = ComActDynVO.class) |
| | | @GetMapping("detaildynamic") |
| | | @ApiImplicitParam(name = "id", value = "社区动态主键", required = true) |
| | | public R detailDynamic(@RequestParam("id") Long id) { |