feat: 完成主题接口

This commit is contained in:
陈淳
2023-12-14 14:38:46 +08:00
parent cebd5b6c71
commit 13d49bc9fb
8 changed files with 2117 additions and 4 deletions

View File

@@ -1,16 +0,0 @@
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Entities.Events;
using Volo.Abp.EventBus;
using Yi.Framework.Rbac.Domain.Entities;
namespace Yi.Framework.Rbac.Domain.EventHandlers
{
public class StudentEventHandler : ILocalEventHandler<EntityCreatedEventData<StudentEntity>>, ITransientDependency
{
public Task HandleEventAsync(EntityCreatedEventData<StudentEntity> eventData)
{
Console.WriteLine(System.Text.Json.JsonSerializer.Serialize(eventData.Entity));
return Task.CompletedTask;
}
}
}