用户管理

This commit is contained in:
yl 2023-03-08 23:11:59 +08:00 committed by yovinchen
parent 44ca241b0c
commit dc2af92884
2 changed files with 20 additions and 0 deletions

View File

@ -51,4 +51,17 @@ export default {
data: idList
})
},
getRoles(adminId) {
return request({
url: `${api_name}/toAssign/${adminId}`,
method: 'get'
})
},
assignRoles(assginRoleVo) {
return request({
url: `${api_name}/doAssign`,
method: 'post',
data: assginRoleVo
})
}
}

View File

@ -38,5 +38,12 @@ export default {
url: `${api_name}/remove/${id}`,
method: 'delete'
})
},
updateStatus(id, status) {
return request({
url: `${api_name}/updateStatus/${id}/${status}`,
method: 'get'
})
}
}