| | |
| | | } |
| | | |
| | | /** |
| | | * 重置密码 |
| | | * |
| | | * @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) { |
| | | return userService.resetPasswordPatch(userId); |
| | | } |
| | | |
| | | /** |
| | | * 某社区后台人员查询 |
| | | * |
| | | * @param param |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增社区后台物业,社会组织,业主委员会账户 |
| | | * |
| | | * @param administratorsUserVO |
| | | * 账户信息 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("adduserbackstageproperty") |
| | | public R adduserbackstageproperty(@RequestBody AdministratorsUserVO administratorsUserVO) { |
| | | |
| | | return userService.addUserBackstageProperty(administratorsUserVO); |
| | | } |
| | | |
| | | /** |
| | | * 删除后台用户 |
| | | * |
| | | * @param administratorsUserVO |