| | |
| | | @PostMapping("putuserisvolunteer") |
| | | R putUserIsVolunteer(@RequestParam("phone") String phone,@RequestParam("type")int type); |
| | | |
| | | |
| | | /** |
| | | * 修改用户志愿者状态 |
| | | * @param userId 用户ID |
| | | * @param type 1 支援者 0不是志愿者 |
| | | */ |
| | | @PostMapping("putuserisvolunteerbyid") |
| | | R putUserIsVolunteerById(@RequestParam("userId") Long userId,@RequestParam("type")int type); |
| | | |
| | | /** |
| | | * 用户绑定社区、小区 |
| | | * @param loginUserInfoVO 社区小区数据 |
| | |
| | | * @return 成员集合 |
| | | */ |
| | | @PostMapping("listfamily") |
| | | R listFamily(@RequestParam("userId")Long userId); |
| | | R listFamily(@RequestParam("userId")Long userId, |
| | | @RequestParam(value = "pageNum") Long pageNum, |
| | | @RequestParam("pageNum") Long pageSize); |
| | | |
| | | /** |
| | | * 新增家庭成员 |
| | |
| | | */ |
| | | @PostMapping("editUserTips") |
| | | R editUserTips(@RequestBody SysUserEditTipsDTO userEditTipsDTO); |
| | | |
| | | /** |
| | | * 获取用户电子档案 |
| | | * @param userId 家庭成员信息 |
| | | * @return 结果 |
| | | */ |
| | | @GetMapping("getUserArchives") |
| | | R getUserArchives(@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 编辑用户电子档案 |
| | | * @param userArchivesVO 编辑的信息 |
| | | * @return 编辑结果 |
| | | */ |
| | | @PostMapping("updateUserArchives") |
| | | R updateUserArchives(@RequestBody UpdateUserArchivesVO userArchivesVO); |
| | | } |