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

This commit is contained in:
YunaiV 2023-08-05 14:32:16 +08:00
parent a2fdff47df
commit ef31ec7aaf

View File

@ -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 })
} }
// 赋予角色菜单权限 // 赋予角色菜单权限