修改中心调研表逻辑
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-18 15:08:28 +08:00
parent a7277be2ba
commit 2a0d01c161
5 changed files with 60 additions and 11 deletions
@@ -39,12 +39,15 @@ namespace IRaCIS.Core.API
cfg.UsePublishMessageScheduler();
cfg.UseConsumeFilter(typeof(ConsumeExceptionFilter<>), context,
x => x.Include(type => type.IsAssignableTo(typeof(DomainEvent))));
cfg.UseConsumeFilter(typeof(CultureInfoFilter<>), context,
x => x.Include(type => type.IsAssignableTo(typeof(DomainEvent))));
cfg.ConfigureEndpoints(context); // 自动配置所有消费者的端点
});
});