feat: 添加bbs等级及用户限制功能

This commit is contained in:
陈淳
2023-12-22 15:51:18 +08:00
parent c5cfa2f143
commit 4ace93bff3
11 changed files with 213 additions and 10 deletions

View File

@@ -298,6 +298,8 @@ namespace Yi.Framework.Rbac.Application.Services
{
await _userManager.GiveUserSetRoleAsync(new List<Guid> { entity.Id }, new List<Guid> { role.Id });
}
await _localEventBus.PublishAsync(new UserCreateEventArgs(entity.Id));
return true;
}