feat: 完成审计日志模块搭建

This commit is contained in:
陈淳
2023-12-28 15:23:00 +08:00
parent a18e71dc9b
commit 470c908453
6 changed files with 578 additions and 329 deletions

View File

@@ -1,16 +1,16 @@
//using Volo.Abp.AuditLogging;
//using Volo.Abp.Modularity;
//using Yi.Framework.SqlSugarCore;
using Volo.Abp.AuditLogging;
using Volo.Abp.Modularity;
using Yi.Framework.SqlSugarCore;
//namespace Yi.AuditLogging.SqlSugarCore
//{
// [DependsOn(typeof(AbpAuditLoggingDomainModule))]
// [DependsOn(typeof(YiFrameworkSqlSugarCoreModule))]
// public class YiAuditLoggingSqlSugarCoreModule:AbpModule
// {
// public override void ConfigureServices(ServiceConfigurationContext context)
// {
// context.Services.AddYiDbContext<YiAuditLoggingDbContext>();
// }
// }
//}
namespace Yi.AuditLogging.SqlSugarCore
{
[DependsOn(typeof(AbpAuditLoggingDomainModule))]
[DependsOn(typeof(YiFrameworkSqlSugarCoreModule))]
public class YiAuditLoggingSqlSugarCoreModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddYiDbContext<YiAuditLoggingDbContext>();
}
}
}