From 54d8a0dcf1c9b6dbc9178708415c2bcf365f99aa Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期五, 24 九月 2021 14:29:31 +0800 Subject: [PATCH] 四长四员,物业功能bug提交 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java | 21 ++++++++++++++++++++- 1 files changed, 20 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 7f01a25..9d6b661 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 @@ -137,6 +137,16 @@ R resetPassword(@RequestParam("userId") Long userId); /** + * 批量重置密码用户登录密码默认admin123456 + * + * @param userIds + * 新密码 + * @return 修改结果 + */ + @GetMapping("resetPasswordPatch") + R resetPasswordPatch(@RequestParam("userIds") Long[] userIds); + + /** * 某社区后台人员查询 * * @param param @@ -848,7 +858,7 @@ * @return 标签集合 */ @PostMapping("listtag/getTag") - R listTags(@RequestParam("communityId") Long communityId); + R listTags(); /** * 添加SysUser信息 @@ -1008,4 +1018,13 @@ */ @GetMapping("getUserListByCommunityId") R getUserListByCommunityId(@RequestParam("communityId") Long communityId); + + /** + * 检查当前用户是否是社区工作人员 + * @param phone + * @param communityId + * @return + */ + @GetMapping("checkIsTeam") + R checkCurrentUserIsTeam(@RequestParam("phone") String phone, @RequestParam("communityId") Long communityId); } -- Gitblit v1.7.1