| | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | /** |
| | | * 活动详情 |
| | | * @param id 活动id |
| | | * @param userId 当前登录者id |
| | | * @return 详情 |
| | | */ |
| | | @PostMapping("inforactivity") |
| | | R inforActivity(@RequestParam("id") Long id); |
| | | @PostMapping("detailactivity") |
| | | R detailActivity(@RequestParam("id") Long id, @RequestParam("userId")Long userId); |
| | | |
| | | /** |
| | | * 活动报名名单 |
| | |
| | | * @return 详情 |
| | | */ |
| | | @PostMapping("detaildynamic") |
| | | R detailDynamic(@RequestParam("id") String id); |
| | | R detailDynamic(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 分页查询随手拍 |
| | |
| | | /** |
| | | * 随手拍详情 |
| | | * @param id 随手拍主键 |
| | | * @param userId 登录用户id |
| | | * @return 详情内容 |
| | | */ |
| | | @PostMapping("detaileasyphoto") |
| | | R detailEasyPhoto(@RequestParam("id")Long id); |
| | | R detailEasyPhoto(@RequestParam("id") Long id, @RequestParam("userId")Long userId); |
| | | |
| | | /** |
| | | * 分页查询微心愿 |
| | |
| | | /** |
| | | * 心愿详情 |
| | | * @param id 查询主键 |
| | | * @param userId 登录用户id |
| | | * @return 心愿内容 |
| | | */ |
| | | @PostMapping("detailmicrowish") |
| | | R detailMicroWish(@RequestParam("id")Long id); |
| | | R detailMicroWish(@RequestParam("id") Long id, @RequestParam("userId")Long userId); |
| | | |
| | | /** |
| | | * 审核、分配、反馈心愿 |
| | |
| | | */ |
| | | @PostMapping("putlmicrowish") |
| | | R putlMicroWish(@RequestBody ComActMicroWishVO comActMicroWishVO); |
| | | |
| | | /** |
| | | * 分页展示我的所有活动 时间倒序排列 |
| | | * @param comActActivityVO 分页参数 |
| | | * @return 分页集合 |
| | | */ |
| | | @PostMapping("pagemyactivity") |
| | | R pageMyActivity(@RequestBody ComActActivityVO comActActivityVO); |
| | | |
| | | /** |
| | | * 报名/取消报名社区活动 |
| | | * @param signactivityVO 报名参数 |
| | | * @return 报名 取消报名 结果 |
| | | */ |
| | | @PostMapping("signactivity") |
| | | R signActivity(@RequestBody SignactivityVO signactivityVO); |
| | | |
| | | /** |
| | | * 上传随手拍 |
| | | * @param comActEasyPhotoVO 上传数据 |
| | | * @return 上传结果 |
| | | */ |
| | | @PostMapping("addeasyphoto") |
| | | R addEasyPhoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); |
| | | |
| | | /** |
| | | * 发布微心愿 |
| | | * @param comActMicroWishVO 发布内容 |
| | | * @return 发布结果 |
| | | */ |
| | | @PostMapping("addmicrowish") |
| | | R addMicroWish(@RequestBody ComActMicroWishVO comActMicroWishVO); |
| | | |
| | | /** |
| | | * 点赞/取消点赞随手拍 |
| | | * @param comActEasyPhotoVO 操作参数 |
| | | * @return 操作结果 |
| | | */ |
| | | @PostMapping("puteasyphoto") |
| | | R putEasyPhoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); |
| | | |
| | | /** |
| | | * 点赞/取消点赞微心愿 |
| | | * @param comActMicroWishVO 操作参数 |
| | | * @return 操作结果 |
| | | */ |
| | | @PostMapping("putmicrowish") |
| | | R putMicroWish(@RequestBody ComActMicroWishVO comActMicroWishVO); |
| | | } |