| | |
| | | } |
| | | |
| | | @GetMapping("/communityList") |
| | | public R getCommunityList(@RequestParam(value = "type") Integer type){ |
| | | return userService.getCommunityList(type); |
| | | public R getCommunityList(@RequestParam("name") String name, @RequestParam(value = "id",required = false) Long id){ |
| | | return userService.getCommunityList(name,id); |
| | | } |
| | | |
| | | @GetMapping("/resetPasswordAccount") |
| | | public R resetPasswordAccount(@RequestParam("type")Integer type,@RequestParam("account")String account){ |
| | | return userService.resetPassword(type,account); |
| | | } |
| | | } |