From 8f64f78511bd79bcb75b66a3f918ce1e32c7704b Mon Sep 17 00:00:00 2001 From: 罗yu 元桥 <2376770955@qq.com> Date: 星期五, 30 四月 2021 16:00:14 +0800 Subject: [PATCH] Merge branch 'test' into 'master' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java index 03858ee..28332d6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java @@ -214,7 +214,9 @@ * @return 成员集合 */ @PostMapping("listfamily") - R listFamily(@RequestParam("userId")Long userId); + R listFamily(@RequestParam("userId")Long userId, + @RequestParam(value = "pageNum") Long pageNum, + @RequestParam("pageSize") Long pageSize); /** * 新增家庭成员 @@ -678,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); } -- Gitblit v1.7.1