| | |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.domain.ZAuthority; |
| | | import com.ruoyi.domain.dto.AuthorityDto; |
| | | import com.ruoyi.domain.dto.AuthorityDto2; |
| | | import com.ruoyi.service.ZAuthorityService; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | return AjaxResult.success(zAuthorityService.getByCondition(authorityDto)); |
| | | } |
| | | |
| | | /** |
| | | * 权限管理(管理员端) |
| | | */ |
| | | @PostMapping() |
| | | public AjaxResult authorityManager(@RequestBody AuthorityDto2 authorityDto){ |
| | | return zAuthorityService.managerAuthority(authorityDto); |
| | | } |
| | | |
| | | // /** |
| | | // * 授权(只有家庭管理员才能调用这个接口) |
| | | // */ |