fix: 移除AutoMapper依赖

This commit is contained in:
2025-12-27 10:36:13 +08:00
parent d37bc191f6
commit b75f4bca54
3 changed files with 0 additions and 71 deletions

View File

@@ -20,9 +20,6 @@ public static class AppApplicationServiceCollectionExtensions
{
services.AddMediatR(cfg => cfg.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly()));
services.AddValidatorsFromAssembly(Assembly.GetExecutingAssembly());
// (空行后) 注册 AutoMapper Profile
services.AddAutoMapper(Assembly.GetExecutingAssembly());
services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>));
return services;