2023-12-11 09:55:12 +08:00
|
|
|
using Volo.Abp.Application.Services;
|
|
|
|
|
using Yi.Framework.Ddd.Application.Contracts;
|
|
|
|
|
using Yi.Framework.Rbac.Application.Contracts.Dtos.Role;
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Rbac.Application.Contracts.IServices
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Role服务抽象
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IRoleService : IYiCrudAppService<RoleGetOutputDto, RoleGetListOutputDto, Guid, RoleGetListInputVo, RoleCreateInputVo, RoleUpdateInputVo>
|
|
|
|
|
{
|
2025-08-09 13:14:15 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 根据角色名称移除指定用户的角色
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="userIds"></param>
|
|
|
|
|
/// <param name="roleName"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<int> RemoveUserRoleByRoleCodeAsync(List<Guid> userIds, string roleName);
|
2023-12-11 09:55:12 +08:00
|
|
|
}
|
|
|
|
|
}
|