| | |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | | * @description: 社区 |
| | |
| | | */ |
| | | @PostMapping("addhouses") |
| | | R addHouses(@RequestBody ComMngStructHouseVO comMngStructHouseVO); |
| | | |
| | | /** |
| | | * 查询小区 |
| | | * @param communityId 社区id |
| | | * @return 小区集合 |
| | | */ |
| | | @PostMapping("listarea") |
| | | R<List<ComActActivityVO>> listArea(@RequestParam("communityId")Long communityId); |
| | | |
| | | /** |
| | | * 用户参加的所有社区活动 |
| | | * @param userId 用户id |
| | | * @return 活动列表 |
| | | */ |
| | | @PostMapping("listactivity") |
| | | R listActivity(@RequestParam("userId")Long userId ); |
| | | |
| | | /** |
| | | * 用户确认心愿 |
| | | * @param comActMicroWishVO 用户评价 |
| | | * @return 确认结果 |
| | | */ |
| | | @PostMapping("putmicrowishconfirm") |
| | | R putMicroWishConfirm(@RequestBody ComActMicroWishVO comActMicroWishVO); |
| | | } |