REVIEW 角色管理(设置菜单权限)

This commit is contained in:
YunaiV
2023-04-01 17:45:31 +08:00
parent 70fa36a262
commit ecde723fa2
5 changed files with 176 additions and 164 deletions

View File

@ -17,7 +17,7 @@ export interface PermissionAssignRoleDataScopeReqVO {
}
// 查询角色拥有的菜单权限
export const listRoleMenusApi = async (roleId: number) => {
export const getRoleMenuList = async (roleId: number) => {
return await request.get({ url: '/system/permission/list-role-resources?roleId=' + roleId })
}