update src/service/api/system/role.ts.
增加 修改角色分配用户接口 Signed-off-by: 素还真 <11555891+metabytes@user.noreply.gitee.com>
This commit is contained in:
parent
ad48d8e840
commit
5bfb8fdbc4
@ -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 }
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user