From 63d368fffeb8872e9528f56cf6dfb35fa4f50f80 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 30 九月 2021 09:30:45 +0800
Subject: [PATCH] bug修复

---
 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
index e69c746..edfdb33 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -127,6 +127,30 @@
     }
 
     /**
+     * 重置密码
+     *
+     * @param userId
+     *            新密码
+     * @return 修改结果
+     */
+    @GetMapping("resetPassword")
+    public R resetPassword(@RequestParam("userId") Long userId) {
+        return userService.resetPassword(userId);
+    }
+
+    /**
+     * 批量重置密码
+     *
+     * @param userId
+     *            新密码
+     * @return 修改结果
+     */
+    @GetMapping("resetPasswordPatch")
+    public R resetPasswordPatch(@RequestParam("userIds") Long[] userId,@RequestParam("password")String password) {
+        return userService.resetPasswordPatch(userId,password);
+    }
+
+    /**
      * 某社区后台人员查询
      *
      * @param param
@@ -368,6 +392,19 @@
     @PostMapping("putuserbackstage")
     R putUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO) {
         return userService.putUserBackstage(administratorsUserVO);
+    }
+
+    /**
+     * 新增社区后台物业,社会组织,业主委员会账户
+     *
+     * @param administratorsUserVO
+     *            账户信息
+     * @return 新增结果
+     */
+    @PostMapping("adduserbackstageproperty")
+    public R adduserbackstageproperty(@RequestBody AdministratorsUserVO administratorsUserVO) {
+
+        return userService.addUserBackstageProperty(administratorsUserVO);
     }
 
     /**
@@ -1155,4 +1192,13 @@
     public R disableOrEnableMerchantUsers(@RequestBody DisableOrEnableConvenientMerchantDTO disableOrEnableConvenientMerchantDTO) {
         return userService.disableOrEnableMerchantUsers(disableOrEnableConvenientMerchantDTO);
     }
+
+    /**
+     * 根据openid维护社区团队里是否注册
+     * @param openid    用户微信唯一标识
+     */
+    @PostMapping("judgeCommunityTeam")
+    public void judgeCommunityTeam(@RequestParam("openid") String openid) {
+        userService.judgeCommunityTeam(openid);
+    }
 }

--
Gitblit v1.7.1