DESKTOP-71BH0QO\L、ming
2021-04-30 6cbbbc92f623c83e918ef0f2eea8ff82cc920b1b
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
@@ -167,6 +167,15 @@
    @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 社区小区数据
@@ -205,7 +214,9 @@
     * @return 成员集合
     */
    @PostMapping("listfamily")
    R listFamily(@RequestParam("userId")Long userId);
    R listFamily(@RequestParam("userId")Long userId,
                 @RequestParam(value = "pageNum") Long pageNum,
                 @RequestParam("pageNum") Long pageSize);
    /**
     * 新增家庭成员
@@ -669,4 +680,20 @@
     */
    @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);
}