|
@@ -39,6 +39,7 @@ using Hotline.Pdf;
|
|
|
using Hotline.XingTang;
|
|
|
using Hotline.ThirdAccountDomainServices.Interfaces;
|
|
|
using Hotline.Snapshot.IRepository;
|
|
|
+using Hotline.Validators;
|
|
|
|
|
|
|
|
|
namespace Hotline.Api;
|
|
@@ -195,7 +196,7 @@ internal static class StartupExtensions
|
|
|
{
|
|
|
config.DisableDataAnnotationsValidation = true;
|
|
|
})
|
|
|
- .AddValidatorsFromAssembly(typeof(AppContractsStartupExtensions).Assembly);
|
|
|
+ .AddValidatorsFromAssembly(typeof(ValidatorExtensions).Assembly);
|
|
|
|
|
|
//mq
|
|
|
services.AddMq(configuration);
|