| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/authtype") |
| | | R communityElderAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) { |
| | | public R elderAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) { |
| | | return eldersAuthService.communityAuthType(eldersAuthTypeQueryDTO); |
| | | } |
| | | |
| | |
| | | * @author txb |
| | | * @date 2021/9/10 16:03 |
| | | */ |
| | | @PutMapping("/authType/{type}") |
| | | @PutMapping("/new/authType/{type}") |
| | | public R setAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type) { |
| | | return eldersAuthService.setAuthType(communityId, type); |
| | | } |
| | |
| | | * @author txb |
| | | * @date 2021/9/10 16:03 |
| | | */ |
| | | @PostMapping("/authtype") |
| | | @PostMapping("/new/authtype") |
| | | public R communityAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) { |
| | | return eldersAuthService.getAuthType(eldersAuthTypeQueryDTO); |
| | | } |