diff --git a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarDbContext.cs b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarDbContext.cs index 90390be8..91e3121c 100644 --- a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarDbContext.cs +++ b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarDbContext.cs @@ -222,7 +222,7 @@ namespace Yi.Framework.SqlSugarCore { if (Options.EnabledSqlLog) { - Logger.CreateLogger().LogDebug(UtilMethods.GetSqlString(DbType.SqlServer, sql, pars)); + Logger.CreateLogger().LogDebug("Yi-SQL执行:"+UtilMethods.GetSqlString(DbType.SqlServer, sql, pars)); } } diff --git a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarLogAuditingStore.cs b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarLogAuditingStore.cs index a7c92d53..b720c9fd 100644 --- a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarLogAuditingStore.cs +++ b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/SqlSugarLogAuditingStore.cs @@ -3,16 +3,24 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Microsoft.Extensions.Logging; using Volo.Abp.Auditing; using Volo.Abp.DependencyInjection; +using Yi.Framework.Core.Helper; +using Yi.Framework.SqlSugarCore.Abstractions; namespace Yi.Framework.SqlSugarCore { public class SqlSugarLogAuditingStore : IAuditingStore, ISingletonDependency { + private readonly ILogger _logger; + public SqlSugarLogAuditingStore(ILogger logger, ISqlSugarDbContext sqlSugarDbContext) + { + _logger= logger; + } public Task SaveAsync(AuditLogInfo auditInfo) { - //Console.WriteLine(auditInfo.ExecutionTime); + _logger.LogDebug("Yi-请求追踪:"+JsonHelper.ObjToStr(auditInfo, "yyyy-MM-dd HH:mm:ss")); return Task.CompletedTask; } } diff --git a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/Uow/SqlSugarTransactionApi.cs b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/Uow/SqlSugarTransactionApi.cs index 230292e2..2f1a1c6c 100644 --- a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/Uow/SqlSugarTransactionApi.cs +++ b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore/Uow/SqlSugarTransactionApi.cs @@ -15,11 +15,6 @@ namespace Yi.Framework.SqlSugarCore.Uow public async Task CommitAsync(CancellationToken cancellationToken = default) { - - - await Console.Out.WriteLineAsync("事务提交"); - - Console.WriteLine(_sqlsugarDbContext.SqlSugarClient.ContextID + "---------------"); await _sqlsugarDbContext.SqlSugarClient.Ado.CommitTranAsync(); } @@ -30,8 +25,6 @@ namespace Yi.Framework.SqlSugarCore.Uow public async Task RollbackAsync(CancellationToken cancellationToken = default) { - await Console.Out.WriteLineAsync("事务回滚"); - Console.WriteLine(_sqlsugarDbContext.SqlSugarClient.ContextID); await _sqlsugarDbContext.SqlSugarClient.Ado.RollbackTranAsync(); } } diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/AccessLog/AccessLogDto.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/AccessLog/AccessLogDto.cs index b25b9da4..0ff1db50 100644 --- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/AccessLog/AccessLogDto.cs +++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/AccessLog/AccessLogDto.cs @@ -2,7 +2,6 @@ { public class AccessLogDto { - public Guid Id { get; set; } public long Number { get; set; } public DateTime? LastModificationTime { get; set; } public DateTime CreationTime { get; set; } diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/Discuss/DiscussGetListInputVo.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/Discuss/DiscussGetListInputVo.cs index 83aeb025..7537de13 100644 --- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/Discuss/DiscussGetListInputVo.cs +++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/Discuss/DiscussGetListInputVo.cs @@ -5,7 +5,7 @@ namespace Yi.Framework.Bbs.Application.Contracts.Dtos.Discuss { public class DiscussGetListInputVo : PagedAndSortedResultRequestDto { - public string Title { get; set; } + public string? Title { get; set; } public Guid? PlateId { get; set; } diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/AccessLogService.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/AccessLogService.cs index 307a524e..1cc27cf6 100644 --- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/AccessLogService.cs +++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/AccessLogService.cs @@ -48,7 +48,7 @@ namespace Yi.Framework.Bbs.Application.Services /// 触发 /// /// - [HttpPost("")] + [HttpPost("access-log")] public async Task AccessAsync() { //可判断http重复,防止同一ip多次访问 diff --git a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Jobs/TestJob.cs b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Jobs/TestJob.cs index f69659fc..faad168e 100644 --- a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Jobs/TestJob.cs +++ b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Jobs/TestJob.cs @@ -3,17 +3,17 @@ using Volo.Abp.BackgroundWorkers.Quartz; namespace Yi.Framework.Rbac.Application.Jobs { - public class TestJob : QuartzBackgroundWorkerBase - { - public TestJob() - { - JobDetail = JobBuilder.Create().WithIdentity(nameof(TestJob)).Build(); - Trigger = TriggerBuilder.Create().WithIdentity(nameof(TestJob)).WithCronSchedule("* * * * * ? *").Build(); - } - public override Task Execute(IJobExecutionContext context) - { - Console.WriteLine("你好,世界"); - return Task.CompletedTask; - } - } + //public class TestJob : QuartzBackgroundWorkerBase + //{ + // public TestJob() + // { + // JobDetail = JobBuilder.Create().WithIdentity(nameof(TestJob)).Build(); + // Trigger = TriggerBuilder.Create().WithIdentity(nameof(TestJob)).WithCronSchedule("* * * * * ? *").Build(); + // } + // public override Task Execute(IJobExecutionContext context) + // { + // Console.WriteLine("你好,世界"); + // return Task.CompletedTask; + // } + //} } diff --git a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/YiFrameworkRbacApplicationModule.cs b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/YiFrameworkRbacApplicationModule.cs index 18e5d2c7..6ebec32f 100644 --- a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/YiFrameworkRbacApplicationModule.cs +++ b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/YiFrameworkRbacApplicationModule.cs @@ -29,7 +29,6 @@ namespace Yi.Framework.Rbac.Application public async override Task OnApplicationInitializationAsync(ApplicationInitializationContext context) { - //await context.AddBackgroundWorkerAsync(); } } } diff --git a/Yi.Abp.Net8/src/Yi.Abp.SqlSugarCore/YiDbContext.cs b/Yi.Abp.Net8/src/Yi.Abp.SqlSugarCore/YiDbContext.cs index f50bfed9..15e1b0b2 100644 --- a/Yi.Abp.Net8/src/Yi.Abp.SqlSugarCore/YiDbContext.cs +++ b/Yi.Abp.Net8/src/Yi.Abp.SqlSugarCore/YiDbContext.cs @@ -28,11 +28,7 @@ namespace Yi.Abp.SqlSugarCore protected override void OnLogExecuting(string sql, SugarParameter[] pars) { - //获取原生SQL推荐 5.1.4.63 性能OK - //UtilMethods.GetNativeSql(sql,pars) - - //获取无参数化SQL 影响性能只适合调试 - this.Logger.CreateLogger().LogInformation(UtilMethods.GetSqlString(DbType.SqlServer, sql, pars)); + base.OnLogExecuting(sql, pars); } protected override void OnLogExecuted(string sql, SugarParameter[] pars) diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/Logs/log-20231212.txt b/Yi.Abp.Net8/src/Yi.Abp.Web/Logs/log-20231212.txt new file mode 100644 index 00000000..b35588a8 --- /dev/null +++ b/Yi.Abp.Net8/src/Yi.Abp.Web/Logs/log-20231212.txt @@ -0,0 +1,1274 @@ +2023-12-12 17:16:19.024 +08:00 [INF] Yi框架-Abp.vNext,启动! +2023-12-12 17:16:21.768 +08:00 [INF] Loaded ABP modules: +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Data.AbpDataModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.UI.AbpUiModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule +2023-12-12 17:16:21.769 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule +2023-12-12 17:16:21.769 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule +2023-12-12 17:16:21.936 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.958 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.960 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.961 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.962 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.965 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.967 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.967 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.968 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.969 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.970 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.972 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.972 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.973 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.974 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.974 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.977 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.978 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.979 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.981 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.981 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.982 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.983 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:21.983 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:16:22.126 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.140 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.142 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.145 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.147 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.149 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.151 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:16:22.419 +08:00 [INF] User profile is available. Using 'C:\Users\chenchun\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2023-12-12 17:16:22.468 +08:00 [INF] Initialized all ABP modules. +2023-12-12 17:16:22.536 +08:00 [INF] Now listening on: http://[::]:19001 +2023-12-12 17:16:22.536 +08:00 [INF] Application started. Press Ctrl+C to shut down. +2023-12-12 17:16:22.537 +08:00 [INF] Hosting environment: Development +2023-12-12 17:16:22.537 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web +2023-12-12 17:30:28.370 +08:00 [INF] Yi框架-Abp.vNext,启动! +2023-12-12 17:30:31.788 +08:00 [INF] Loaded ABP modules: +2023-12-12 17:30:31.788 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Data.AbpDataModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.UI.AbpUiModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule +2023-12-12 17:30:31.789 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule +2023-12-12 17:30:31.789 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule +2023-12-12 17:30:32.041 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.067 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.069 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.070 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.071 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.074 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.076 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.076 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.077 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.078 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.079 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.081 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.081 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.082 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.084 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.085 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.088 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.089 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.090 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.092 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.092 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.093 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.094 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.094 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:32.246 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.261 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.263 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.266 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.269 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.271 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.273 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:32.628 +08:00 [INF] User profile is available. Using 'C:\Users\chenchun\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2023-12-12 17:30:32.680 +08:00 [INF] Initialized all ABP modules. +2023-12-12 17:30:32.787 +08:00 [INF] Now listening on: http://[::]:19001 +2023-12-12 17:30:32.787 +08:00 [INF] Application started. Press Ctrl+C to shut down. +2023-12-12 17:30:32.788 +08:00 [INF] Hosting environment: Development +2023-12-12 17:30:32.788 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web +2023-12-12 17:30:50.122 +08:00 [INF] Yi框架-Abp.vNext,启动! +2023-12-12 17:30:52.779 +08:00 [INF] Loaded ABP modules: +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Data.AbpDataModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule +2023-12-12 17:30:52.779 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule +2023-12-12 17:30:52.779 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.UI.AbpUiModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule +2023-12-12 17:30:52.780 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule +2023-12-12 17:30:52.780 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule +2023-12-12 17:30:52.970 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:52.998 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.000 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.001 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.002 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.006 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.009 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.010 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.011 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.013 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.014 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.015 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.016 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.016 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.017 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.018 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.021 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.022 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.023 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.026 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.026 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.027 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.028 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.029 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:30:53.170 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.183 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.185 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.189 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.192 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.194 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.196 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:30:53.499 +08:00 [INF] User profile is available. Using 'C:\Users\chenchun\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2023-12-12 17:30:53.551 +08:00 [INF] Initialized all ABP modules. +2023-12-12 17:30:53.621 +08:00 [INF] Now listening on: http://[::]:19001 +2023-12-12 17:30:53.621 +08:00 [INF] Application started. Press Ctrl+C to shut down. +2023-12-12 17:30:53.621 +08:00 [INF] Hosting environment: Development +2023-12-12 17:30:53.621 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web +2023-12-12 17:51:17.104 +08:00 [INF] Yi框架-Abp.vNext,启动! +2023-12-12 17:51:20.297 +08:00 [INF] Loaded ABP modules: +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Data.AbpDataModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.UI.AbpUiModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule +2023-12-12 17:51:20.297 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule +2023-12-12 17:51:20.297 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule +2023-12-12 17:51:20.499 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.524 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.525 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.526 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.527 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.530 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.532 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.533 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.533 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.535 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.535 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.537 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.538 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.538 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.539 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.539 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.542 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.543 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.544 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.546 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.546 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.547 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.548 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.548 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:51:20.691 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:20.704 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:20.706 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:20.709 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:20.712 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:20.715 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:20.717 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:51:21.036 +08:00 [INF] User profile is available. Using 'C:\Users\chenchun\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2023-12-12 17:51:21.087 +08:00 [INF] Initialized all ABP modules. +2023-12-12 17:51:21.163 +08:00 [INF] Now listening on: http://[::]:19001 +2023-12-12 17:51:21.163 +08:00 [INF] Application started. Press Ctrl+C to shut down. +2023-12-12 17:51:21.164 +08:00 [INF] Hosting environment: Development +2023-12-12 17:51:21.164 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web +2023-12-12 17:52:15.712 +08:00 [INF] Yi框架-Abp.vNext,启动! +2023-12-12 17:52:18.655 +08:00 [INF] Loaded ABP modules: +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Data.AbpDataModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.UI.AbpUiModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule +2023-12-12 17:52:18.655 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule +2023-12-12 17:52:18.655 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule +2023-12-12 17:52:18.858 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.883 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.885 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.886 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.887 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.890 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.892 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.893 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.893 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.895 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.895 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.897 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.898 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.898 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.899 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.900 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.903 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.904 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.905 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.906 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.907 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.908 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.909 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:18.909 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 17:52:19.055 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.069 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.071 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.074 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.076 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.078 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.080 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 17:52:19.406 +08:00 [INF] User profile is available. Using 'C:\Users\chenchun\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2023-12-12 17:52:19.459 +08:00 [INF] Initialized all ABP modules. +2023-12-12 17:52:19.539 +08:00 [INF] Now listening on: http://[::]:19001 +2023-12-12 17:52:19.539 +08:00 [INF] Application started. Press Ctrl+C to shut down. +2023-12-12 17:52:19.539 +08:00 [INF] Hosting environment: Development +2023-12-12 17:52:19.539 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web +2023-12-12 17:54:01.449 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:01.485 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:01.506 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:01.547 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:01.599 +08:00 [DBG] Yi-SQL执行:INSERT INTO `AccessLog` + (`Id`,`Number`,`LastModificationTime`,`CreationTime`) + VALUES + (N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5',0,null,'2023-12-12 17:54:01.581') ; +2023-12-12 17:54:01.617 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 106.3659ms +2023-12-12 17:54:01.617 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:01.650 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:01", + "ExecutionDuration": 138, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:01", + "ExecutionDuration": 82, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:03.285 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:03.286 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:03.287 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:03.289 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:03.326 +08:00 [DBG] Yi-SQL执行:UPDATE `AccessLog` SET + `Number` =( `Number` + 1 ) WHERE ( `Id` = N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5' ) +2023-12-12 17:54:03.328 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 41.4262ms +2023-12-12 17:54:03.328 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:03.329 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:03", + "ExecutionDuration": 42, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:03", + "ExecutionDuration": 40, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:03.491 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:03.492 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:03.492 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:03.493 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:03.495 +08:00 [DBG] Yi-SQL执行:UPDATE `AccessLog` SET + `Number` =( `Number` + 1 ) WHERE ( `Id` = N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5' ) +2023-12-12 17:54:03.496 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 4.301ms +2023-12-12 17:54:03.496 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:03.497 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:03", + "ExecutionDuration": 5, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:03", + "ExecutionDuration": 4, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:05.497 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:05.498 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:05.498 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:05.499 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:05.500 +08:00 [DBG] Yi-SQL执行:UPDATE `AccessLog` SET + `Number` =( `Number` + 1 ) WHERE ( `Id` = N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5' ) +2023-12-12 17:54:05.501 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 3.0979ms +2023-12-12 17:54:05.502 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:05.502 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:05", + "ExecutionDuration": 4, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:05", + "ExecutionDuration": 3, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:05.618 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:05.618 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:05.618 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:05.619 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:05.620 +08:00 [DBG] Yi-SQL执行:UPDATE `AccessLog` SET + `Number` =( `Number` + 1 ) WHERE ( `Id` = N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5' ) +2023-12-12 17:54:05.622 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 3.1545ms +2023-12-12 17:54:05.622 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:05.622 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:05", + "ExecutionDuration": 4, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:05", + "ExecutionDuration": 3, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:06.151 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:06.151 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:06.151 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:06.153 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:06.153 +08:00 [DBG] Yi-SQL执行:UPDATE `AccessLog` SET + `Number` =( `Number` + 1 ) WHERE ( `Id` = N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5' ) +2023-12-12 17:54:06.155 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 3.0723ms +2023-12-12 17:54:06.155 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:06.155 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:06", + "ExecutionDuration": 3, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:06", + "ExecutionDuration": 3, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:06.293 +08:00 [INF] CORS policy execution successful. +2023-12-12 17:54:06.293 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:06.293 +08:00 [INF] Route matched with {action = "Access", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task AccessAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:06.295 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,1 +2023-12-12 17:54:06.296 +08:00 [DBG] Yi-SQL执行:UPDATE `AccessLog` SET + `Number` =( `Number` + 1 ) WHERE ( `Id` = N'e71f5fde-6f59-9353-93e7-3a0f6f9f74e5' ) +2023-12-12 17:54:06.298 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application) in 4.13ms +2023-12-12 17:54:06.298 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.AccessAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:06.298 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:06", + "ExecutionDuration": 5, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "POST", + "HttpStatusCode": 204, + "Url": "/api/app/access-log", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "AccessAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:06", + "ExecutionDuration": 4, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:08.615 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:08.617 +08:00 [INF] Route matched with {action = "GetWeekFirst", controller = "AccessLog", area = ""}. Executing controller action with signature System.DateTime GetWeekFirst() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:08.624 +08:00 [INF] Executing ObjectResult, writing value of type 'System.DateTime'. +2023-12-12 17:54:08.634 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application) in 16.7006ms +2023-12-12 17:54:08.634 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:08.634 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:08", + "ExecutionDuration": 19, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week-first", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekFirst", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:08", + "ExecutionDuration": 1, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:09.609 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:09.609 +08:00 [INF] Route matched with {action = "GetWeekFirst", controller = "AccessLog", area = ""}. Executing controller action with signature System.DateTime GetWeekFirst() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:09.610 +08:00 [INF] Executing ObjectResult, writing value of type 'System.DateTime'. +2023-12-12 17:54:09.610 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application) in 1.1458ms +2023-12-12 17:54:09.610 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:09.611 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:09", + "ExecutionDuration": 2, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week-first", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekFirst", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:09", + "ExecutionDuration": 0, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:09.763 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:09.764 +08:00 [INF] Route matched with {action = "GetWeekFirst", controller = "AccessLog", area = ""}. Executing controller action with signature System.DateTime GetWeekFirst() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:09.764 +08:00 [INF] Executing ObjectResult, writing value of type 'System.DateTime'. +2023-12-12 17:54:09.764 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application) in 0.7099ms +2023-12-12 17:54:09.764 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:09.765 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:09", + "ExecutionDuration": 1, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week-first", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekFirst", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:09", + "ExecutionDuration": 0, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:09.930 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:09.930 +08:00 [INF] Route matched with {action = "GetWeekFirst", controller = "AccessLog", area = ""}. Executing controller action with signature System.DateTime GetWeekFirst() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:09.931 +08:00 [INF] Executing ObjectResult, writing value of type 'System.DateTime'. +2023-12-12 17:54:09.931 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application) in 0.5866ms +2023-12-12 17:54:09.931 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:09.931 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:09", + "ExecutionDuration": 1, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week-first", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekFirst", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:09", + "ExecutionDuration": 0, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:10.094 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:10.094 +08:00 [INF] Route matched with {action = "GetWeekFirst", controller = "AccessLog", area = ""}. Executing controller action with signature System.DateTime GetWeekFirst() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:10.095 +08:00 [INF] Executing ObjectResult, writing value of type 'System.DateTime'. +2023-12-12 17:54:10.095 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application) in 0.656ms +2023-12-12 17:54:10.095 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:10.095 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:10", + "ExecutionDuration": 1, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week-first", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekFirst", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:10", + "ExecutionDuration": 0, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:54:50.805 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:50.806 +08:00 [INF] Route matched with {action = "GetWeekFirst", controller = "AccessLog", area = ""}. Executing controller action with signature System.DateTime GetWeekFirst() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:54:50.807 +08:00 [INF] Executing ObjectResult, writing value of type 'System.DateTime'. +2023-12-12 17:54:50.807 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application) in 1.5518ms +2023-12-12 17:54:50.807 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekFirst (Yi.Framework.Bbs.Application)' +2023-12-12 17:54:50.807 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:54:50", + "ExecutionDuration": 2, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week-first", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekFirst", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:54:50", + "ExecutionDuration": 0, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 17:55:04.838 +08:00 [INF] Executing endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:55:04.841 +08:00 [INF] Route matched with {action = "GetWeek", controller = "AccessLog", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Yi.Framework.Bbs.Application.Contracts.Dtos.AccessLog.AccessLogDto[]] GetWeekAsync() on controller Yi.Framework.Bbs.Application.Services.AccessLogService (Yi.Framework.Bbs.Application). +2023-12-12 17:55:07.053 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`Number`,`LastModificationTime`,`CreationTime` FROM `AccessLog` ORDER BY `CreationTime` DESC LIMIT 0,7 +2023-12-12 17:55:07.137 +08:00 [INF] Executing ObjectResult, writing value of type 'Yi.Framework.Bbs.Application.Contracts.Dtos.AccessLog.AccessLogDto[]'. +2023-12-12 17:55:07.140 +08:00 [INF] Executed action Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekAsync (Yi.Framework.Bbs.Application) in 2299.0422ms +2023-12-12 17:55:07.140 +08:00 [INF] Executed endpoint 'Yi.Framework.Bbs.Application.Services.AccessLogService.GetWeekAsync (Yi.Framework.Bbs.Application)' +2023-12-12 17:55:07.140 +08:00 [DBG] Yi-请求追踪:{ + "ApplicationName": "Yi.Abp.Web", + "UserId": null, + "UserName": null, + "TenantId": null, + "TenantName": null, + "ImpersonatorUserId": null, + "ImpersonatorTenantId": null, + "ImpersonatorUserName": null, + "ImpersonatorTenantName": null, + "ExecutionTime": "2023-12-12 17:55:04", + "ExecutionDuration": 2302, + "ClientId": null, + "CorrelationId": null, + "ClientIpAddress": "::1", + "ClientName": null, + "BrowserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", + "HttpMethod": "GET", + "HttpStatusCode": 200, + "Url": "/api/app/access-log/week", + "Actions": [ + { + "ServiceName": "Yi.Framework.Bbs.Application.Services.AccessLogService", + "MethodName": "GetWeekAsync", + "Parameters": "{}", + "ExecutionTime": "2023-12-12 17:55:04", + "ExecutionDuration": 2296, + "ExtraProperties": {} + } + ], + "Exceptions": [], + "ExtraProperties": {}, + "EntityChanges": [], + "Comments": [] +} +2023-12-12 18:07:34.180 +08:00 [INF] Yi框架-Abp.vNext,启动! +2023-12-12 18:07:36.769 +08:00 [INF] Loaded ABP modules: +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Data.AbpDataModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2023-12-12 18:07:36.769 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2023-12-12 18:07:36.769 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.UI.AbpUiModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule +2023-12-12 18:07:36.770 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule +2023-12-12 18:07:36.770 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule +2023-12-12 18:07:36.951 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.975 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.977 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.977 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.979 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.982 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.984 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.985 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.985 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.988 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.988 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.990 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.990 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.991 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.992 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.993 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.996 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.997 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:36.998 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:37.000 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:37.000 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:37.001 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:37.002 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:37.002 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name; +2023-12-12 18:07:37.153 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.168 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.170 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.173 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.177 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.179 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.182 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 ) +2023-12-12 18:07:37.490 +08:00 [INF] User profile is available. Using 'C:\Users\chenchun\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2023-12-12 18:07:37.543 +08:00 [INF] Initialized all ABP modules. +2023-12-12 18:07:37.614 +08:00 [INF] Now listening on: http://[::]:19001 +2023-12-12 18:07:37.614 +08:00 [INF] Application started. Press Ctrl+C to shut down. +2023-12-12 18:07:37.614 +08:00 [INF] Hosting environment: Development +2023-12-12 18:07:37.614 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/Program.cs b/Yi.Abp.Net8/src/Yi.Abp.Web/Program.cs index 4f323b0a..b0f0f73e 100644 --- a/Yi.Abp.Net8/src/Yi.Abp.Web/Program.cs +++ b/Yi.Abp.Net8/src/Yi.Abp.Web/Program.cs @@ -1,9 +1,36 @@ +using Serilog; +using Serilog.Events; using Yi.Abp.Web; -var builder = WebApplication.CreateBuilder(args); -builder.WebHost.UseUrls(builder.Configuration["App:SelfUrl"]); -builder.Host.UseAutofac(); -await builder.Services.AddApplicationAsync(); -var app = builder.Build(); -await app.InitializeApplicationAsync(); -await app.RunAsync(); +//־,ʹ{SourceContext}¼ +Log.Logger = new LoggerConfiguration() +.MinimumLevel.Debug() +.MinimumLevel.Override("Microsoft", LogEventLevel.Information) +.MinimumLevel.Override("Microsoft.AspNetCore.Hosting.Diagnostics",LogEventLevel.Error) +.MinimumLevel.Override("Quartz", LogEventLevel.Warning) +.Enrich.FromLogContext() +.WriteTo.Async(c => c.File("Logs/log-.txt", rollingInterval: RollingInterval.Day)) +.WriteTo.Async(c => c.Console()) +.CreateLogger(); + +try +{ + Log.Information("Yi-Abp.vNext"); + + var builder = WebApplication.CreateBuilder(args); + builder.WebHost.UseUrls(builder.Configuration["App:SelfUrl"]); + builder.Host.UseAutofac(); + builder.Host.UseSerilog(); + await builder.Services.AddApplicationAsync(); + var app = builder.Build(); + await app.InitializeApplicationAsync(); + await app.RunAsync(); +} +catch (Exception ex) +{ + Log.Fatal(ex, "Yi-Abp.vNextը"); +} +finally +{ + Log.CloseAndFlush(); +} \ No newline at end of file diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/Yi.Abp.Web.csproj b/Yi.Abp.Net8/src/Yi.Abp.Web/Yi.Abp.Web.csproj index 6f887469..f5bfde83 100644 --- a/Yi.Abp.Net8/src/Yi.Abp.Web/Yi.Abp.Web.csproj +++ b/Yi.Abp.Net8/src/Yi.Abp.Web/Yi.Abp.Web.csproj @@ -10,6 +10,8 @@ + + diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/YiAbpWebModule.cs b/Yi.Abp.Net8/src/Yi.Abp.Web/YiAbpWebModule.cs index faa20eee..a38c41d3 100644 --- a/Yi.Abp.Net8/src/Yi.Abp.Web/YiAbpWebModule.cs +++ b/Yi.Abp.Net8/src/Yi.Abp.Web/YiAbpWebModule.cs @@ -10,7 +10,6 @@ using Volo.Abp.AspNetCore.Mvc.AntiForgery; using Volo.Abp.AspNetCore.Serilog; using Volo.Abp.Auditing; using Volo.Abp.Autofac; -using Volo.Abp.Json; using Volo.Abp.Modularity; using Volo.Abp.Swashbuckle; using Yi.Abp.Application; @@ -25,7 +24,7 @@ using Yi.Framework.Rbac.Domain.Shared.Options; namespace Yi.Abp.Web { [DependsOn( - typeof(YiAbpSqlSugarCoreModule), + typeof(YiAbpSqlSugarCoreModule), typeof(YiAbpApplicationModule), typeof(AbpAspNetCoreMvcModule), @@ -43,6 +42,7 @@ namespace Yi.Abp.Web public override Task ConfigureServicesAsync(ServiceConfigurationContext context) { var configuration = context.Services.GetConfiguration(); + var host = context.Services.GetHostingEnvironment(); var service = context.Services; //请求日志 @@ -65,10 +65,7 @@ namespace Yi.Abp.Web { options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; }); - Configure(options => - { - options.OutputDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); + Configure(options => { options.AutoValidate = false; @@ -77,7 +74,7 @@ namespace Yi.Abp.Web //Swagger context.Services.AddYiSwaggerGen(options => { - options.SwaggerDoc("default", new OpenApiInfo { Title = "Yi.Framework.Abp", Version = "v1",Description="集大成者" }); + options.SwaggerDoc("default", new OpenApiInfo { Title = "Yi.Framework.Abp", Version = "v1", Description = "集大成者" }); }); //跨域 @@ -145,7 +142,6 @@ namespace Yi.Abp.Web var env = context.GetEnvironment(); var app = context.GetApplicationBuilder(); - app.UseRouting(); //跨域 diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/yi-abp-dev.db b/Yi.Abp.Net8/src/Yi.Abp.Web/yi-abp-dev.db index df0255e7..30b299e9 100644 Binary files a/Yi.Abp.Net8/src/Yi.Abp.Web/yi-abp-dev.db and b/Yi.Abp.Net8/src/Yi.Abp.Web/yi-abp-dev.db differ diff --git a/Yi.BBS.Vue3/package-lock.json b/Yi.BBS.Vue3/package-lock.json index c48d3d63..7e77e335 100644 --- a/Yi.BBS.Vue3/package-lock.json +++ b/Yi.BBS.Vue3/package-lock.json @@ -14,6 +14,7 @@ "element-plus": "^2.2.32", "highlight": "^0.2.4", "i": "^0.3.7", + "lodash": "^4.17.21", "marked": "^4.2.12", "mavon-editor": "^3.0.0", "nprogress": "^0.2.0", @@ -2555,8 +2556,9 @@ }, "node_modules/lodash": { "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "resolved": "http://10.10.78.31:8081/repository/hmx-public/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" }, "node_modules/lodash-es": { "version": "4.17.21", @@ -5813,7 +5815,7 @@ }, "lodash": { "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", + "resolved": "http://10.10.78.31:8081/repository/hmx-public/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash-es": { diff --git a/Yi.BBS.Vue3/package.json b/Yi.BBS.Vue3/package.json index 92a32b88..4e367592 100644 --- a/Yi.BBS.Vue3/package.json +++ b/Yi.BBS.Vue3/package.json @@ -14,6 +14,7 @@ "element-plus": "^2.2.32", "highlight": "^0.2.4", "i": "^0.3.7", + "lodash": "^4.17.21", "marked": "^4.2.12", "mavon-editor": "^3.0.0", "nprogress": "^0.2.0", diff --git a/Yi.BBS.Vue3/src/apis/accessApi.js b/Yi.BBS.Vue3/src/apis/accessApi.js index 32354648..8506ccf5 100644 --- a/Yi.BBS.Vue3/src/apis/accessApi.js +++ b/Yi.BBS.Vue3/src/apis/accessApi.js @@ -1,17 +1,17 @@ -import request from '@/utils/request' +import request from "@/config/axios/service"; + // 触发访问 export function access() { return request({ - url: '/access-log', - method: 'post' - }) + url: "/access-log", + method: "post", + }); } - // 获取本周数据 export function getWeek() { return request({ - url: '/access-log/week', - method: 'get' - }) -} \ No newline at end of file + url: "/access-log/week", + method: "get", + }); +} diff --git a/Yi.BBS.Vue3/src/apis/accountApi.js b/Yi.BBS.Vue3/src/apis/accountApi.js index fadf8d24..da3ed0a6 100644 --- a/Yi.BBS.Vue3/src/apis/accountApi.js +++ b/Yi.BBS.Vue3/src/apis/accountApi.js @@ -1,79 +1,78 @@ -import request from '@/utils/request' +import request from "@/config/axios/service"; // 登录方法 export function login(username, password, code, uuid) { - const data = { - username, - password, - code, - uuid - } - return request({ - url: '/account/login', - headers: { - isToken: false - }, - method: 'post', - data: data - }) - } - - // 注册方法 - export function register(userName,password,phone,code,uuid) { - const data = { - userName, - password, - phone, - code, - uuid - } - return request({ - url: '/account/register', - headers: { - isToken: false - }, - method: 'post', - data: data - }) - } - - // 获取用户详细信息 - export function getInfo() { - return request({ - url: '/account', - method: 'get' - }) - } + const data = { + username, + password, + code, + uuid, + }; + return request({ + url: "/account/login", + headers: { + isToken: false, + }, + method: "post", + data: data, + }); +} + +// 注册方法 +export function register(userName, password, phone, code, uuid) { + const data = { + userName, + password, + phone, + code, + uuid, + }; + return request({ + url: "/account/register", + headers: { + isToken: false, + }, + method: "post", + data: data, + }); +} + +// 获取用户详细信息 +export function getInfo() { + return request({ + url: "/account", + method: "get", + }); +} - // 退出方法 export function logout() { - return request({ - url: '/account/logout', - method: 'post' - }) - } - - // 获取验证码 - export function getCodeImg() { - return request({ - url: '/account/captcha-image', - headers: { - isToken: false - }, - method: 'get', - timeout: 20000 - }) - } - // 获取短信验证码 - export function getCodePhone(phone) { - return request({ - url: '/account/captcha-phone', - headers: { - isToken: false - }, - method: 'post', - timeout: 20000, - data:{phone} - }) - } \ No newline at end of file + return request({ + url: "/account/logout", + method: "post", + }); +} + +// 获取验证码 +export function getCodeImg() { + return request({ + url: "/account/captcha-image", + headers: { + isToken: false, + }, + method: "get", + timeout: 20000, + }); +} +// 获取短信验证码 +export function getCodePhone(phone) { + return request({ + url: "/account/captcha-phone", + headers: { + isToken: false, + }, + method: "post", + timeout: 20000, + data: { phone }, + }); +} diff --git a/Yi.BBS.Vue3/src/apis/agreeApi.js b/Yi.BBS.Vue3/src/apis/agreeApi.js index 864a8957..2aa81805 100644 --- a/Yi.BBS.Vue3/src/apis/agreeApi.js +++ b/Yi.BBS.Vue3/src/apis/agreeApi.js @@ -1,11 +1,10 @@ -import myaxios from '@/utils/request' -export function operate(discussId){ - if(discussId==undefined) - { - return; - } - return myaxios({ - url: `/agree/operate/${discussId}`, - method: 'post' - }) -}; \ No newline at end of file +import request from "@/config/axios/service"; +export function operate(discussId) { + if (discussId == undefined) { + return; + } + return request({ + url: `/agree/operate/${discussId}`, + method: "post", + }); +} diff --git a/Yi.BBS.Vue3/src/apis/articleApi.js b/Yi.BBS.Vue3/src/apis/articleApi.js index ec189ba9..a7febf61 100644 --- a/Yi.BBS.Vue3/src/apis/articleApi.js +++ b/Yi.BBS.Vue3/src/apis/articleApi.js @@ -1,41 +1,40 @@ -import myaxios from '@/utils/request' -export function getList(data){ - return myaxios({ - url: '/article', - method: 'get', - params:data - }) -}; -export function get(id){ - return myaxios({ - url: `/article/${id}`, - method: 'get' - }) -}; -export function add(data){ - return myaxios({ - url: `/article`, - method: 'post', - data:data - }) -}; -export function update(id,data){ - return myaxios({ - url: `/article/${id}`, - method: 'put', - data:data - }) -}; -export function del(ids){ - return myaxios({ - url: `/article/${ids}`, - method: 'delete' - }) -}; -export function all(discussId) -{ - return myaxios({ - url: `/article/all/discuss-id/${discussId}`, - method: 'get' - }) -} \ No newline at end of file +import request from "@/config/axios/service"; +export function getList(data) { + return request({ + url: "/article", + method: "get", + params: data, + }); +} +export function get(id) { + return request({ + url: `/article/${id}`, + method: "get", + }); +} +export function add(data) { + return request({ + url: `/article`, + method: "post", + data: data, + }); +} +export function update(id, data) { + return request({ + url: `/article/${id}`, + method: "put", + data: data, + }); +} +export function del(ids) { + return request({ + url: `/article/${ids}`, + method: "delete", + }); +} +export function all(discussId) { + return request({ + url: `/article/all/discuss-id/${discussId}`, + method: "get", + }); +} diff --git a/Yi.BBS.Vue3/src/apis/bannerApi.js b/Yi.BBS.Vue3/src/apis/bannerApi.js index c8f65061..7d121feb 100644 --- a/Yi.BBS.Vue3/src/apis/bannerApi.js +++ b/Yi.BBS.Vue3/src/apis/bannerApi.js @@ -1,8 +1,9 @@ -import myaxios from '@/utils/request' -export function getList(data){ - return myaxios({ - url: '/banner', - method: 'get', - params:data - }) -}; \ No newline at end of file +import request from "@/config/axios/service"; + +export function getList(data) { + return request({ + url: "/banner", + method: "get", + params: data, + }); +} diff --git a/Yi.BBS.Vue3/src/apis/commentApi.js b/Yi.BBS.Vue3/src/apis/commentApi.js index 84e4d43c..305f811d 100644 --- a/Yi.BBS.Vue3/src/apis/commentApi.js +++ b/Yi.BBS.Vue3/src/apis/commentApi.js @@ -1,22 +1,23 @@ -import myaxios from '@/utils/request' -export function getListByDiscussId(discussId,data){ - return myaxios({ - url: `/comment/discuss-id/${discussId}`, - method: 'get', - params:data - }) -}; -export function add(data){ - return myaxios({ - url: `/comment`, - method: 'post', - data:data - }) -}; +import request from "@/config/axios/service"; -export function del(ids){ - return myaxios({ - url: `/comment/${ids}`, - method: 'delete' - }) -}; \ No newline at end of file +export function getListByDiscussId(discussId, data) { + return request({ + url: `/comment/discuss-id/${discussId}`, + method: "get", + params: data, + }); +} +export function add(data) { + return request({ + url: `/comment`, + method: "post", + data: data, + }); +} + +export function del(ids) { + return request({ + url: `/comment/${ids}`, + method: "delete", + }); +} diff --git a/Yi.BBS.Vue3/src/apis/discussApi.js b/Yi.BBS.Vue3/src/apis/discussApi.js index 94a985a2..6b9039a9 100644 --- a/Yi.BBS.Vue3/src/apis/discussApi.js +++ b/Yi.BBS.Vue3/src/apis/discussApi.js @@ -1,51 +1,48 @@ -import myaxios from '@/utils/request' -export function getList(data){ - return myaxios({ - url: '/discuss', - method: 'get', - params:data - }) -}; -export function getTopList(data){ +import request from "@/config/axios/service"; - if(data==undefined) - { - data={isTop:true} - } - else - { - data["isTop"]=true; - } +export function getList(data) { + return request({ + url: "/discuss", + method: "get", + params: data, + }); +} +export function getTopList(data) { + if (data == undefined) { + data = { isTop: true }; + } else { + data["isTop"] = true; + } - return myaxios({ - url: '/discuss', - method: 'get', - params:data - }) -}; -export function get(id){ - return myaxios({ - url: `/discuss/${id}`, - method: 'get' - }) -}; -export function add(data){ - return myaxios({ - url: `/discuss`, - method: 'post', - data:data - }) -}; -export function update(id,data){ - return myaxios({ - url: `/discuss/${id}`, - method: 'put', - data:data - }) -}; -export function del(ids){ - return myaxios({ - url: `/discuss/${ids}`, - method: 'delete' - }) -}; \ No newline at end of file + return request({ + url: "/discuss", + method: "get", + params: data, + }); +} +export function get(id) { + return request({ + url: `/discuss/${id}`, + method: "get", + }); +} +export function add(data) { + return request({ + url: `/discuss`, + method: "post", + data: data, + }); +} +export function update(id, data) { + return request({ + url: `/discuss/${id}`, + method: "put", + data: data, + }); +} +export function del(ids) { + return request({ + url: `/discuss/${ids}`, + method: "delete", + }); +} diff --git a/Yi.BBS.Vue3/src/apis/fileApi.js b/Yi.BBS.Vue3/src/apis/fileApi.js index cb299f7a..6b3e4e42 100644 --- a/Yi.BBS.Vue3/src/apis/fileApi.js +++ b/Yi.BBS.Vue3/src/apis/fileApi.js @@ -1,9 +1,10 @@ -import myaxios from '@/utils/request' -export function upload(data){ - return myaxios({ - url: '/file', - method: 'post', - data:data, - headers: { 'Content-Type': 'multipart/form-data' } - }) -}; +import request from "@/config/axios/service"; + +export function upload(data) { + return request({ + url: "/file", + method: "post", + data: data, + headers: { "Content-Type": "multipart/form-data" }, + }); +} diff --git a/Yi.BBS.Vue3/src/apis/plateApi.js b/Yi.BBS.Vue3/src/apis/plateApi.js index 0362ac3a..7902fcc6 100644 --- a/Yi.BBS.Vue3/src/apis/plateApi.js +++ b/Yi.BBS.Vue3/src/apis/plateApi.js @@ -1,8 +1,9 @@ -import myaxios from '@/utils/request' -export function getList(data){ - return myaxios({ - url: '/plate', - method: 'get', - params:data - }) -}; \ No newline at end of file +import request from "@/config/axios/service"; + +export function getList(data) { + return request({ + url: "/plate", + method: "get", + params: data, + }); +} diff --git a/Yi.BBS.Vue3/src/apis/userApi.js b/Yi.BBS.Vue3/src/apis/userApi.js index 5ccc3e39..198408f4 100644 --- a/Yi.BBS.Vue3/src/apis/userApi.js +++ b/Yi.BBS.Vue3/src/apis/userApi.js @@ -1,133 +1,131 @@ -import myaxios from '@/utils/request' +import request from "@/config/axios/service"; // 查询用户列表 export function listUser(query) { - return myaxios({ - url: '/user', - method: 'get', - params: query - }) + return request({ + url: "/user", + method: "get", + params: query, + }); } // 查询用户详细 export function getUser(userId) { - return myaxios({ - url: '/user/' + parseStrEmpty(userId), - method: 'get' - }) + return request({ + url: "/user/" + parseStrEmpty(userId), + method: "get", + }); } // 新增用户 export function addUser(data) { - return myaxios({ - url: '/user', - method: 'post', - data: data - }) + return request({ + url: "/user", + method: "post", + data: data, + }); } // 修改用户 export function updateUser(id, data) { - return myaxios({ + return request({ url: `/user/${id}`, - method: 'put', - data: data - }) + method: "put", + data: data, + }); } // 删除用户 export function delUser(userId) { - return myaxios({ + return request({ url: `/user/${userId}`, - method: 'delete', - }) + method: "delete", + }); } // 用户密码重置 export function resetUserPwd(id, password) { const data = { - password - } + password, + }; - - return myaxios({ + return request({ url: `/account/rest-password/${id}`, - method: 'put', - data: data - }) + method: "put", + data: data, + }); } // 用户状态修改 export function changeUserStatus(userId, isDel) { - return myaxios({ + return request({ url: `/user/${userId}/${isDel}`, - method: 'put' - }) + method: "put", + }); } // 查询用户个人信息 export function getUserProfile() { - return myaxios({ - url: '/account', - method: 'get' - }) + return request({ + url: "/account", + method: "get", + }); } // 修改用户个人信息 export function updateUserProfile(data) { - return myaxios({ + return request({ url: `/user/profile`, - method: 'put', - data: data - }) + method: "put", + data: data, + }); } // 只修改用户头像 export function updateUserIcon(data) { - return myaxios({ + return request({ url: `/account/icon`, - method: 'put', - data:{icon:data} - }) + method: "put", + data: { icon: data }, + }); } - // 用户密码重置 export function updateUserPwd(oldPassword, newPassword) { const data = { oldPassword, - newPassword - } - return myaxios({ - url: '/account/password', - method: 'put', - data: data - }) + newPassword, + }; + return request({ + url: "/account/password", + method: "put", + data: data, + }); } // 用户头像上传 export function uploadAvatar(data) { return request({ - url: '/system/user/profile/avatar', - method: 'post', - data: data - }) + url: "/system/user/profile/avatar", + method: "post", + data: data, + }); } // 查询授权角色 export function getAuthRole(userId) { return request({ - url: '/system/user/authRole/' + userId, - method: 'get' - }) + url: "/system/user/authRole/" + userId, + method: "get", + }); } // 保存授权角色 export function updateAuthRole(data) { return request({ - url: '/system/user/authRole', - method: 'put', - params: data - }) + url: "/system/user/authRole", + method: "put", + params: data, + }); } // // 查询部门下拉树结构 diff --git a/Yi.BBS.Vue3/src/components/echars/VisitsLineChart.vue b/Yi.BBS.Vue3/src/components/echars/VisitsLineChart.vue index 9a766423..c79192d4 100644 --- a/Yi.BBS.Vue3/src/components/echars/VisitsLineChart.vue +++ b/Yi.BBS.Vue3/src/components/echars/VisitsLineChart.vue @@ -1,55 +1,51 @@ \ No newline at end of file +}); + diff --git a/Yi.BBS.Vue3/src/hooks/useEcharts.js b/Yi.BBS.Vue3/src/hooks/useEcharts.js new file mode 100644 index 00000000..401e2497 --- /dev/null +++ b/Yi.BBS.Vue3/src/hooks/useEcharts.js @@ -0,0 +1,50 @@ +import * as echarts from "echarts"; +import { onMounted, onUnmounted, watch } from "vue"; +import { debounce } from "@/utils/index"; +import _ from "lodash"; + +// containerRef echarts实例 props 传入的值 baseOptions 图表初始化渲染 +export default function useEcharts(containerRef, emits, props, baseOptions) { + let chart = null; + + onMounted(() => { + chart = echarts.init(containerRef.value); + init(); + chart.on("click", function (param) { + emits("chart-click", param); + }); + //自适应不同屏幕时改变图表尺寸 + window.addEventListener("resize", cancalDebounce); + }); + // 用于将echarts实例暴露出去使用 + const getChart = () => chart; + onUnmounted(() => { + chart && chart.dispose(); + window.removeEventListener("resize", cancalDebounce); + }); + + function init() { + let option = _.cloneDeep(baseOptions); + chart.setOption(option); + chart.setOption(props.option); + } + + function resize() { + chart && chart.resize(); + } + + watch( + () => props.option, + (val) => { + chart && chart.setOption(val); + }, + { deep: true } + ); + + const cancalDebounce = debounce(resize, 500); + + return { + getChart, + resize, + }; +} diff --git a/Yi.BBS.Vue3/src/utils/index.js b/Yi.BBS.Vue3/src/utils/index.js new file mode 100644 index 00000000..e695e283 --- /dev/null +++ b/Yi.BBS.Vue3/src/utils/index.js @@ -0,0 +1,12 @@ +//设置防抖,保证无论拖动窗口大小,只执行一次获取浏览器宽高的方法 +export const debounce = (fun, delay) => { + let timer; + return function () { + if (timer) { + clearTimeout(timer); + } + timer = setTimeout(() => { + fun(); + }, delay); + }; +}; diff --git a/Yi.BBS.Vue3/src/views/Index.vue b/Yi.BBS.Vue3/src/views/Index.vue index b05d0710..17b073a3 100644 --- a/Yi.BBS.Vue3/src/views/Index.vue +++ b/Yi.BBS.Vue3/src/views/Index.vue @@ -131,8 +131,8 @@ onMounted(async () => { plateList.value = plateData.items; const { data: discussData } = await discussGetList(query); discussList.value = discussData.items; - const { data: bannerData } = await bannerGetList(); - bannerList.value = bannerData.items; + // const { data: bannerData } = await bannerGetList(); + // bannerList.value = bannerData.items; });