联调前端用户管理及角色管理

This commit is contained in:
橙子
2022-04-26 18:29:18 +08:00
parent 512e640c13
commit 7e427605ab
30 changed files with 239 additions and 81 deletions

View File

@@ -19,11 +19,6 @@ export default {
method: 'get'
})
},
GetRolesByUserId(userId) {
return myaxios({
url: `/Role/GetRolesByUserId?userId=${userId}`,
method: 'get'
})
},
}
}

View File

@@ -22,10 +22,10 @@ export default {
method: 'get'
})
},
GetAxiosByRouter(router) {
GetRoleListByUserId(userId) {
return myaxios({
url: `/User/GetAxiosByRouter?router=${router}`,
url: `/User/GetRoleListByUserId?userId=${userId}`,
method: 'get'
})
}
},
}