暂时去掉审计
This commit is contained in:
parent
6adbfe7883
commit
2ead6e8242
@ -14,7 +14,7 @@ using Volo.Abp.Modularity;
|
||||
namespace JiShe.CollectBus.Migration;
|
||||
|
||||
[DependsOn(
|
||||
typeof(CollectBusDomainModule),
|
||||
//typeof(CollectBusDomainModule),
|
||||
typeof(CollectBusMigrationApplicationContractsModule),
|
||||
typeof(AbpDddApplicationModule),
|
||||
typeof(AbpAutoMapperModule),
|
||||
|
||||
@ -148,8 +148,8 @@ namespace JiShe.CollectBus.Migration.Host
|
||||
(
|
||||
options =>
|
||||
{
|
||||
options.IsEnabled = false;
|
||||
//options.EntityHistorySelectors.AddAllEntities();
|
||||
options.IsEnabled = true;
|
||||
options.EntityHistorySelectors.AddAllEntities();
|
||||
options.ApplicationName = "JiShe.CollectBus.Migration";
|
||||
}
|
||||
);
|
||||
|
||||
@ -42,7 +42,6 @@ namespace JiShe.CollectBus.Migration.Host
|
||||
ConfigureSwaggerServices(context, configuration);
|
||||
//ConfigureNetwork(context, configuration);
|
||||
ConfigureJwtAuthentication(context, configuration);
|
||||
//ConfigureHangfire(context);
|
||||
ConfigureAuditLog(context);
|
||||
ConfigureCustom(context, configuration);
|
||||
ConfigureHealthChecks(context, configuration);
|
||||
@ -84,7 +83,7 @@ namespace JiShe.CollectBus.Migration.Host
|
||||
options.DefaultModelsExpandDepth(-1);
|
||||
});
|
||||
}
|
||||
//app.UseAuditing();
|
||||
app.UseAuditing();
|
||||
app.UseAbpSerilogEnrichers();
|
||||
//app.UseUnitOfWork();
|
||||
//app.UseHangfireDashboard("/hangfire", new DashboardOptions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user