update src/service/api/system/role.ts.

增加 修改角色分配用户接口

Signed-off-by: 素还真 <11555891+metabytes@user.noreply.gitee.com>
This commit is contained in:
素还真 2025-07-07 09:00:09 +00:00 committed by Gitee
parent 85c8a9fffa
commit 18288b8340
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -78,3 +78,12 @@ export function fetchGetRoleUserList(params: Api.System.UserSearchParams) {
params
});
}
/** 修改 角色分配的用户 */
export function fetchUpdateRoleUser(roleId?: CommonType.IdType ,userIds?: string) {
return request<boolean>({
url: '/system/role/authUser/selectAll',
method: 'put',
params: { roleId,userIds}
});
}