角色列表页面权限分配雏形.

This commit is contained in:
许晓东
2023-04-24 22:08:05 +08:00
parent a37664f6d5
commit e3b0dd5d2a
8 changed files with 133 additions and 4 deletions

View File

@@ -39,6 +39,12 @@ public class UserManageController {
return userManageService.addPermission(permissionDTO);
}
@ControllerLog("更新角色")
@PutMapping("/role")
public Object updateRole(@RequestBody SysRoleDTO roleDTO) {
return userManageService.updateRole(roleDTO);
}
@GetMapping("/role")
public Object selectRole() {
return userManageService.selectRole();