| | |
| | | /** |
| | | * 根据条件查看权限 |
| | | */ |
| | | @GetMapping("/condition") |
| | | @PostMapping("/condition") |
| | | public AjaxResult getAuthorityByCondition(@RequestBody AuthorityDto authorityDto){ |
| | | return AjaxResult.success(zAuthorityService.getByCondition(authorityDto)); |
| | | } |
| | |
| | | return zAuthorityService.managerAuthority(authorityDto); |
| | | } |
| | | |
| | | /** |
| | | * 查看其他人现有的权限 |
| | | */ |
| | | @PostMapping("/list/other") |
| | | public AjaxResult getOtherAuthority(@RequestBody AuthorityDto authorityDto){ |
| | | return zAuthorityService.getOtherAuthority(authorityDto); |
| | | } |
| | | |
| | | // /** |
| | | // * 授权(只有家庭管理员才能调用这个接口) |
| | | // */ |