Commit ef31ec7a by YunaiV

bugfix:分配角色菜单时,调用接口 404 问题

parent a2fdff47
...@@ -18,7 +18,7 @@ export interface PermissionAssignRoleDataScopeReqVO { ...@@ -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 })
} }
// 赋予角色菜单权限 // 赋予角色菜单权限
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment