New file |
| | |
| | | package com.panzhihua.applets.api; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | @RestController |
| | | @RequestMapping("/proceedings") |
| | | @Api(tags = "议事委员会") |
| | | public class ComActProceedings { |
| | | @Resource |
| | | private CommunityService communityService; |
| | | |
| | | @GetMapping("/list") |
| | | @ApiOperation("议事委员会列表") |
| | | public R list(@RequestParam("page")Integer page,@RequestParam("size")Integer size){ |
| | | return communityService.proceedingsList(page,size ,null ); |
| | | } |
| | | } |