完成用户的角色分配,妥妥的。睡觉~

This commit is contained in:
YunaiV
2021-01-11 00:02:29 +08:00
parent 8921556d75
commit 7f171d14a4
14 changed files with 256 additions and 67 deletions

View File

@ -9,6 +9,14 @@ export function listRole(query) {
})
}
// 查询角色(精简)列表
export function listSimpleRoles() {
return request({
url: '/system/role/list-all-simple',
method: 'get'
})
}
// 查询角色详细
export function getRole(roleId) {
return request({