This commit is contained in:
mmc
2026-04-28 16:36:22 +08:00
parent b540f842ab
commit efed5441b3
3 changed files with 190 additions and 124 deletions

View File

@@ -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',
});
}