bugfix:分配角色菜单时,调用接口 404 问题
This commit is contained in:
parent
a2fdff47df
commit
ef31ec7aaf
@ -18,7 +18,7 @@ export interface PermissionAssignRoleDataScopeReqVO {
|
|||||||
|
|
||||||
// 查询角色拥有的菜单权限
|
// 查询角色拥有的菜单权限
|
||||||
export const getRoleMenuList = async (roleId: number) => {
|
export const getRoleMenuList = async (roleId: number) => {
|
||||||
return await request.get({ url: '/system/permission/list-role-resources?roleId=' + roleId })
|
return await request.get({ url: '/system/permission/list-role-menus?roleId=' + roleId })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 赋予角色菜单权限
|
// 赋予角色菜单权限
|
||||||
|
Loading…
Reference in New Issue
Block a user