保留审计修复审计报错问题

This commit is contained in:
zenghongyao 2025-05-21 17:32:43 +08:00
parent 2d2bb0dcc0
commit f746d84225
3 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ using Volo.Abp.Modularity;
namespace JiShe.CollectBus.Migration;
[DependsOn(
//typeof(CollectBusDomainModule),
typeof(CollectBusDomainModule),
typeof(CollectBusMigrationApplicationContractsModule),
typeof(AbpDddApplicationModule),
typeof(AbpAutoMapperModule),

View File

@ -2,6 +2,7 @@
using JiShe.CollectBus.Common;
using JiShe.CollectBus.Migration.Host.HealthChecks;
using JiShe.CollectBus.Migration.Host.Swaggers;
using JiShe.CollectBus.MongoDB;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Swashbuckle.AspNetCore.SwaggerUI;
using Volo.Abp;
@ -26,6 +27,7 @@ namespace JiShe.CollectBus.Migration.Host
typeof(AbpAspNetCoreSerilogModule),
typeof(AbpSwashbuckleModule),
typeof(AbpTimingModule),
typeof(CollectBusMongoDbModule),
typeof(CollectBusMigrationApplicationModule),
typeof(AbpCachingStackExchangeRedisModule)
)]
@ -85,7 +87,7 @@ namespace JiShe.CollectBus.Migration.Host
}
app.UseAuditing();
app.UseAbpSerilogEnrichers();
//app.UseUnitOfWork();
app.UseUnitOfWork();
//app.UseHangfireDashboard("/hangfire", new DashboardOptions
//{
// IgnoreAntiforgeryToken = true

View File

@ -55,6 +55,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\modules\JiShe.CollectBus.MongoDB\JiShe.CollectBus.MongoDB.csproj" />
<ProjectReference Include="..\..\services\JiShe.CollectBus.Migration.Application.Contracts\JiShe.CollectBus.Migration.Application.Contracts.csproj" />
<ProjectReference Include="..\..\services\JiShe.CollectBus.Migration.Application\JiShe.CollectBus.Migration.Application.csproj" />
<ProjectReference Include="..\JiShe.CollectBus.Migration.HttpApi\JiShe.CollectBus.Migration.HttpApi.csproj" />