角色
This commit is contained in:
@@ -8,5 +8,21 @@ export function addRole(data) {
|
||||
data
|
||||
});
|
||||
}
|
||||
//获取角色列表
|
||||
export function getRoleList() {
|
||||
return request({
|
||||
url: '/system/role/selectRoleAll',
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
//删除角色/system/role/{roleIds}
|
||||
export function deleteRole(data) {
|
||||
return request({
|
||||
url: `/system/role/${data}`,
|
||||
method: 'delete',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user