chore: 使用.net8构建

This commit is contained in:
陈淳
2023-12-13 12:24:58 +08:00
parent 6773279d3e
commit 0bea3caae7
27 changed files with 618 additions and 138 deletions

View File

@@ -1,10 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\framework\Yi.Framework.Ddd.Application.Contracts\Yi.Framework.Ddd.Application.Contracts.csproj" />

View File

@@ -1,10 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />

View File

@@ -1,13 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Ddd.Domain.Shared" Version="7.4.2" />
<PackageReference Include="Volo.Abp.Ddd.Domain.Shared" Version="8.0.0-rc.3" />
</ItemGroup>
<ItemGroup>

View File

@@ -1,14 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Ddd.Domain" Version="7.4.2" />
<PackageReference Include="Volo.Abp.Caching" Version="7.4.2" />
<PackageReference Include="Volo.Abp.Ddd.Domain" Version="8.0.0-rc.3" />
<PackageReference Include="Volo.Abp.Caching" Version="8.0.0-rc.3" />
</ItemGroup>

View File

@@ -1,10 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\framework\Yi.Framework.Mapster\Yi.Framework.Mapster.csproj" />

View File

@@ -0,0 +1,577 @@
2023-12-13 12:22:25.631 +08:00 [INF] Yi框架-Abp.vNext启动
2023-12-13 12:22:30.214 +08:00 [INF] Loaded ABP modules:
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Abp.Web.YiAbpWebModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Abp.SqlsugarCore.YiAbpSqlSugarCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Abp.Domain.YiAbpDomainModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Abp.Domain.Shared.YiAbpDomainSharedModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Rbac.Domain.Shared.YiFrameworkRbacDomainSharedModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Mapster.YiFrameworkMapsterModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Core.YiFrameworkCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Bbs.Domain.Shared.YiFrameworkBbsDomainSharedModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Rbac.Domain.YiFrameworkRbacDomainModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Bbs.Domain.YiFrameworkBbsDomainModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Rbac.SqlSugarCore.YiFrameworkRbacSqlSugarCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.SqlSugarCore.YiFrameworkSqlSugarCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Bbs.SqlSugarCore.YiFrameworkBbsSqlSugarCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Abp.Application.YiAbpApplicationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Abp.Application.Contracts.YiAbpApplicationContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Rbac.Application.Contracts.YiFrameworkRbacApplicationContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Ddd.Application.Contracts.YiFrameworkDddApplicationContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Bbs.Application.Contracts.YiFrameworkBbsApplicationContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Rbac.Application.YiFrameworkRbacApplicationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Ddd.Application.YiFrameworkDddApplicationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.BackgroundWorkers.Quartz.AbpBackgroundWorkersQuartzModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Quartz.AbpQuartzModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.Bbs.Application.YiFrameworkBbsApplicationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-12-13 12:22:30.215 +08:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule
2023-12-13 12:22:30.215 +08:00 [INF] - Yi.Framework.AspNetCore.YiFrameworkAspNetCoreModule
2023-12-13 12:22:30.424 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.447 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.449 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.450 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.452 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.455 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.457 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.458 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.459 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.461 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.462 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.464 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.465 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.465 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.466 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.467 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.471 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.472 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.473 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.475 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.476 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.476 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.478 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.478 +08:00 [DBG] Yi-SQL执行:select Name from sqlite_master where type='table' and name<>'sqlite_sequence' order by name;
2023-12-13 12:22:30.633 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dept` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.648 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Dictionary` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.651 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `DictionaryType` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.655 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Menu` WHERE ( `MenuName` = N'系统管理' ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.658 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Post` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.660 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `Role` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.663 +08:00 [DBG] Yi-SQL执行:SELECT COUNT(1) FROM `User` WHERE ( 1 = 1 ) AND ( `IsDeleted` = 0 )
2023-12-13 12:22:30.983 +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-13 12:22:31.042 +08:00 [INF] Initialized all ABP modules.
2023-12-13 12:22:31.143 +08:00 [INF] Now listening on: http://[::]:19001
2023-12-13 12:22:31.143 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2023-12-13 12:22:31.144 +08:00 [INF] Hosting environment: Development
2023-12-13 12:22:31.144 +08:00 [INF] Content root path: E:\code\csharp\Yi\Yi.Abp.Net8\src\Yi.Abp.Web
2023-12-13 12:24:24.291 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:24.330 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '2023/12/13 1:14:24', Current time (UTC): '2023/12/13 4:24:24'.
at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
2023-12-13 12:24:24.330 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '2023/12/13 1:14:24', Current time (UTC): '2023/12/13 4:24:24'.
at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
2023-12-13 12:24:24.331 +08:00 [INF] Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '2023/12/13 1:14:24', Current time (UTC): '2023/12/13 4:24:24'.
2023-12-13 12:24:24.331 +08:00 [INF] Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '2023/12/13 1:14:24', Current time (UTC): '2023/12/13 4:24:24'.
2023-12-13 12:24:24.352 +08:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2023-12-13 12:24:24.352 +08:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2023-12-13 12:24:24.356 +08:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-12-13 12:24:24.356 +08:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-12-13 12:24:24.404 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:24.405 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '2023/12/13 1:14:24', Current time (UTC): '2023/12/13 4:24:24'.
at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
2023-12-13 12:24:24.405 +08:00 [INF] Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '2023/12/13 1:14:24', Current time (UTC): '2023/12/13 4:24:24'.
2023-12-13 12:24:24.424 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.PostLogout (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:24.440 +08:00 [INF] Route matched with {action = "PostLogout", controller = "Account", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Boolean] PostLogout() on controller Yi.Framework.Rbac.Application.Services.AccountService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:24.599 +08:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'.
2023-12-13 12:24:24.616 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:24.617 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters)
--- End of inner exception stack trace ---
2023-12-13 12:24:24.617 +08:00 [INF] Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
2023-12-13 12:24:24.618 +08:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2023-12-13 12:24:24.618 +08:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-12-13 12:24:24.621 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.AccountService.PostLogout (Yi.Framework.Rbac.Application) in 176.8417ms
2023-12-13 12:24:24.621 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.PostLogout (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:24.644 +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-13 12:24:24",
"ExecutionDuration": 203,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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": 200,
"Url": "/api/app/account/logout",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.AccountService",
"MethodName": "PostLogout",
"Parameters": "{}",
"ExecutionTime": "2023-12-13 12:24:24",
"ExecutionDuration": 13,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:24.743 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.GetCaptchaImageAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:24.745 +08:00 [INF] Route matched with {action = "GetCaptchaImage", controller = "Account", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Yi.Framework.Rbac.Application.Contracts.Dtos.Account.CaptchaImageDto] GetCaptchaImageAsync() on controller Yi.Framework.Rbac.Application.Services.AccountService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:24.804 +08:00 [INF] Executing ObjectResult, writing value of type 'Yi.Framework.Rbac.Application.Contracts.Dtos.Account.CaptchaImageDto'.
2023-12-13 12:24:24.808 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.AccountService.GetCaptchaImageAsync (Yi.Framework.Rbac.Application) in 62.7742ms
2023-12-13 12:24:24.808 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.GetCaptchaImageAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:24.808 +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-13 12:24:24",
"ExecutionDuration": 65,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/account/captcha-image",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.AccountService",
"MethodName": "GetCaptchaImageAsync",
"Parameters": "{}",
"ExecutionTime": "2023-12-13 12:24:24",
"ExecutionDuration": 58,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:29.410 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:29.410 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters)
--- End of inner exception stack trace ---
2023-12-13 12:24:29.410 +08:00 [INF] Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
2023-12-13 12:24:29.411 +08:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2023-12-13 12:24:29.411 +08:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-12-13 12:24:29.632 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:29.632 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters)
--- End of inner exception stack trace ---
2023-12-13 12:24:29.632 +08:00 [INF] Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
2023-12-13 12:24:29.632 +08:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2023-12-13 12:24:29.632 +08:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-12-13 12:24:31.714 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:31.715 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.PostLoginAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:31.723 +08:00 [INF] Route matched with {action = "PostLogin", controller = "Account", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Object] PostLoginAsync(Yi.Framework.Rbac.Application.Contracts.Dtos.Account.LoginInputVo) on controller Yi.Framework.Rbac.Application.Services.AccountService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:31.772 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`Name`,`Age`,`UserName`,`Password`,`Salt`,`Icon`,`Nick`,`Email`,`Ip`,`Address`,`Phone`,`Introduction`,`Remark`,`Sex`,`DeptId`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State` FROM `User` WHERE (( `UserName` = N'cc' ) AND ( `State` = 1 )) AND ( `IsDeleted` = 0 ) ORDER BY DATETIME('now') LIMIT 0,1
2023-12-13 12:24:31.789 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`Name`,`Age`,`UserName`,`Password`,`Salt`,`Icon`,`Nick`,`Email`,`Ip`,`Address`,`Phone`,`Introduction`,`Remark`,`Sex`,`DeptId`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State` FROM `User` WHERE `Id` = N'36532e8b-109b-c6dd-fa9e-3a0f5fe48619' AND ( `IsDeleted` = 0 )
2023-12-13 12:24:31.807 +08:00 [DBG] Yi-SQL执行:SELECT `UserId` as aid,`RoleId` as bid FROM `UserRole` WHERE `UserId` = '36532e8b-109b-c6dd-fa9e-3a0f5fe48619'
2023-12-13 12:24:31.812 +08:00 [DBG] Yi-SQL执行:SELECT * FROM `Role` WHERE ( `IsDeleted` = 0 ) AND `Id` = null AND ( `IsDeleted` = 0 )
2023-12-13 12:24:31.901 +08:00 [INF] Executing ObjectResult, writing value of type '<>f__AnonymousType0`1[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2023-12-13 12:24:31.903 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.AccountService.PostLoginAsync (Yi.Framework.Rbac.Application) in 179.5209ms
2023-12-13 12:24:31.903 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.PostLoginAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:31.904 +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-13 12:24:31",
"ExecutionDuration": 189,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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": 200,
"Url": "/api/app/account/login",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.AccountService",
"MethodName": "PostLoginAsync",
"Parameters": "{\"input\":{\"userName\":\"cc\",\"password\":\"123456\",\"uuid\":\"d91667e0-87f9-42c3-348f-3a0f73980bab\",\"code\":\"z3br\"}}",
"ExecutionTime": "2023-12-13 12:24:31",
"ExecutionDuration": 149,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:31.910 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:31.914 +08:00 [INF] 用户【36532e8b-109b-c6dd-fa9e-3a0f5fe48619:cc】登入系统
2023-12-13 12:24:31.916 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.Get (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:31.916 +08:00 [INF] Executing endpoint '/hub/main/negotiate'
2023-12-13 12:24:31.917 +08:00 [INF] Route matched with {action = "Get", controller = "Account", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Yi.Framework.Rbac.Domain.Shared.Dtos.UserRoleMenuDto] Get() on controller Yi.Framework.Rbac.Application.Services.AccountService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:31.919 +08:00 [INF] Executed endpoint '/hub/main/negotiate'
2023-12-13 12:24:31.920 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`Name`,`Age`,`UserName`,`Password`,`Salt`,`Icon`,`Nick`,`Email`,`Ip`,`Address`,`Phone`,`Introduction`,`Remark`,`Sex`,`DeptId`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State` FROM `User` WHERE `Id` = N'36532e8b-109b-c6dd-fa9e-3a0f5fe48619' AND ( `IsDeleted` = 0 )
2023-12-13 12:24:31.922 +08:00 [DBG] Yi-SQL执行:SELECT `UserId` as aid,`RoleId` as bid FROM `UserRole` WHERE `UserId` = '36532e8b-109b-c6dd-fa9e-3a0f5fe48619'
2023-12-13 12:24:31.924 +08:00 [DBG] Yi-SQL执行:SELECT * FROM `Role` WHERE ( `IsDeleted` = 0 ) AND `Id` = null AND ( `IsDeleted` = 0 )
2023-12-13 12:24:31.925 +08:00 [INF] Executing ObjectResult, writing value of type 'Yi.Framework.Rbac.Domain.Shared.Dtos.UserRoleMenuDto'.
2023-12-13 12:24:31.927 +08:00 [INF] CORS policy execution successful.
2023-12-13 12:24:31.927 +08:00 [INF] Executing endpoint '/hub/main'
2023-12-13 12:24:31.932 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.AccountService.Get (Yi.Framework.Rbac.Application) in 14.422ms
2023-12-13 12:24:31.932 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.Get (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:31.932 +08:00 [DBG] Yi-请求追踪:{
"ApplicationName": "Yi.Abp.Web",
"UserId": "36532e8b-109b-c6dd-fa9e-3a0f5fe48619",
"UserName": "cc",
"TenantId": null,
"TenantName": null,
"ImpersonatorUserId": null,
"ImpersonatorTenantId": null,
"ImpersonatorUserName": null,
"ImpersonatorTenantName": null,
"ExecutionTime": "2023-12-13 12:24:31",
"ExecutionDuration": 16,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/account",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.AccountService",
"MethodName": "Get",
"Parameters": "{}",
"ExecutionTime": "2023-12-13 12:24:31",
"ExecutionDuration": 7,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:31.940 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.GetVue3Router (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:31.942 +08:00 [INF] Route matched with {action = "GetVue3Router", controller = "Account", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Yi.Framework.Rbac.Domain.Shared.Dtos.Vue3RouterDto]] GetVue3Router() on controller Yi.Framework.Rbac.Application.Services.AccountService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:31.944 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`Name`,`Age`,`UserName`,`Password`,`Salt`,`Icon`,`Nick`,`Email`,`Ip`,`Address`,`Phone`,`Introduction`,`Remark`,`Sex`,`DeptId`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State` FROM `User` WHERE `Id` = N'36532e8b-109b-c6dd-fa9e-3a0f5fe48619' AND ( `IsDeleted` = 0 )
2023-12-13 12:24:31.945 +08:00 [DBG] Yi-SQL执行:SELECT `UserId` as aid,`RoleId` as bid FROM `UserRole` WHERE `UserId` = '36532e8b-109b-c6dd-fa9e-3a0f5fe48619'
2023-12-13 12:24:31.947 +08:00 [DBG] Yi-SQL执行:SELECT * FROM `Role` WHERE ( `IsDeleted` = 0 ) AND `Id` = null AND ( `IsDeleted` = 0 )
2023-12-13 12:24:31.950 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State`,`MenuName`,`MenuType`,`PermissionCode`,`ParentId`,`MenuIcon`,`Router`,`IsLink`,`IsCache`,`IsShow`,`Remark`,`Component`,`Query` FROM `Menu` WHERE ( `IsDeleted` = 0 )
2023-12-13 12:24:31.956 +08:00 [DBG] Yi-SQL执行:INSERT INTO `LoginLog`
(`Id`,`CreationTime`,`LoginUser`,`LoginLocation`,`LoginIp`,`Browser`,`Os`,`LogMsg`,`CreatorId`)
VALUES
(N'e34c3d03-d02b-a8ef-8b78-3a0f739827b8','2023-12-13 12:24:31.931',N'cc',N'本地-本机',N'127.0.0.1',N'Other',N'Windows 10',N'cc登录系统',null) ;
2023-12-13 12:24:31.981 +08:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Yi.Framework.Rbac.Domain.Shared.Dtos.Vue3RouterDto, Yi.Framework.Rbac.Domain.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-12-13 12:24:31.984 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.AccountService.GetVue3Router (Yi.Framework.Rbac.Application) in 41.488ms
2023-12-13 12:24:31.984 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.AccountService.GetVue3Router (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:31.984 +08:00 [DBG] Yi-请求追踪:{
"ApplicationName": "Yi.Abp.Web",
"UserId": "36532e8b-109b-c6dd-fa9e-3a0f5fe48619",
"UserName": "cc",
"TenantId": null,
"TenantName": null,
"ImpersonatorUserId": null,
"ImpersonatorTenantId": null,
"ImpersonatorUserName": null,
"ImpersonatorTenantName": null,
"ExecutionTime": "2023-12-13 12:24:31",
"ExecutionDuration": 44,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/account/Vue3Router",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.AccountService",
"MethodName": "GetVue3Router",
"Parameters": "{}",
"ExecutionTime": "2023-12-13 12:24:31",
"ExecutionDuration": 38,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:31.990 +08:00 [INF] 2023/12/13 12:24:31cc,vC4Th4dE0OKHLACUz3MCTQ连接服务端success当前已连接1个
2023-12-13 12:24:34.019 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.DictionaryService.GetDicType (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.019 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.DeptService.GetListAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.019 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.DictionaryService.GetDicType (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.020 +08:00 [INF] Executing endpoint 'Yi.Framework.Rbac.Application.Services.UserService.GetListAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.022 +08:00 [INF] Route matched with {action = "GetDicType", controller = "Dictionary", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Yi.Framework.Rbac.Application.Contracts.Dtos.Dictionary.DictionaryGetListOutputDto]] GetDicType(System.String) on controller Yi.Framework.Rbac.Application.Services.DictionaryService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:34.022 +08:00 [INF] Route matched with {action = "GetDicType", controller = "Dictionary", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Yi.Framework.Rbac.Application.Contracts.Dtos.Dictionary.DictionaryGetListOutputDto]] GetDicType(System.String) on controller Yi.Framework.Rbac.Application.Services.DictionaryService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:34.024 +08:00 [INF] Route matched with {action = "GetList", controller = "Dept", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Yi.Framework.Rbac.Application.Contracts.Dtos.Dept.DeptGetListOutputDto]] GetListAsync(Yi.Framework.Rbac.Application.Contracts.Dtos.Dept.DeptGetListInputVo) on controller Yi.Framework.Rbac.Application.Services.DeptService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:34.024 +08:00 [INF] Route matched with {action = "GetList", controller = "User", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Yi.Framework.Rbac.Application.Contracts.Dtos.User.UserGetListOutputDto]] GetListAsync(Yi.Framework.Rbac.Application.Contracts.Dtos.User.UserGetListInputVo) on controller Yi.Framework.Rbac.Application.Services.UserService (Yi.Framework.Rbac.Application).
2023-12-13 12:24:34.042 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`OrderNum`,`State`,`Remark`,`ListClass`,`CssClass`,`DictType`,`DictLabel`,`DictValue`,`IsDefault`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime` FROM `Dictionary` WHERE (( `DictType` = N'sys_user_sex' ) AND ( `State` = 1 )) AND ( `IsDeleted` = 0 )
2023-12-13 12:24:34.054 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`OrderNum`,`State`,`Remark`,`ListClass`,`CssClass`,`DictType`,`DictLabel`,`DictValue`,`IsDefault`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime` FROM `Dictionary` WHERE (( `DictType` = N'sys_normal_disable' ) AND ( `State` = 1 )) AND ( `IsDeleted` = 0 )
2023-12-13 12:24:34.074 +08:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Yi.Framework.Rbac.Application.Contracts.Dtos.Dictionary.DictionaryGetListOutputDto, Yi.Framework.Rbac.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-12-13 12:24:34.074 +08:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Yi.Framework.Rbac.Application.Contracts.Dtos.Dictionary.DictionaryGetListOutputDto, Yi.Framework.Rbac.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-12-13 12:24:34.077 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.DictionaryService.GetDicType (Yi.Framework.Rbac.Application) in 54.6573ms
2023-12-13 12:24:34.077 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.DictionaryService.GetDicType (Yi.Framework.Rbac.Application) in 54.5526ms
2023-12-13 12:24:34.077 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.DictionaryService.GetDicType (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.077 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.DictionaryService.GetDicType (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.077 +08:00 [DBG] Yi-请求追踪:{
"ApplicationName": "Yi.Abp.Web",
"UserId": "36532e8b-109b-c6dd-fa9e-3a0f5fe48619",
"UserName": "cc",
"TenantId": null,
"TenantName": null,
"ImpersonatorUserId": null,
"ImpersonatorTenantId": null,
"ImpersonatorUserName": null,
"ImpersonatorTenantName": null,
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 57,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/dictionary/dic-type/sys_user_sex",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.DictionaryService",
"MethodName": "GetDicType",
"Parameters": "{\"dicType\":\"sys_user_sex\"}",
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 45,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:34.077 +08:00 [DBG] Yi-请求追踪:{
"ApplicationName": "Yi.Abp.Web",
"UserId": "36532e8b-109b-c6dd-fa9e-3a0f5fe48619",
"UserName": "cc",
"TenantId": null,
"TenantName": null,
"ImpersonatorUserId": null,
"ImpersonatorTenantId": null,
"ImpersonatorUserName": null,
"ImpersonatorTenantName": null,
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 57,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/dictionary/dic-type/sys_normal_disable",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.DictionaryService",
"MethodName": "GetDicType",
"Parameters": "{\"dicType\":\"sys_normal_disable\"}",
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 43,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:34.084 +08:00 [DBG] Yi-SQL执行: SELECT COUNT(1) FROM (SELECT `Id`,`IsDeleted`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State`,`DeptName`,`DeptCode`,`Leader`,`ParentId`,`Remark` FROM `Dept` WHERE ( `IsDeleted` = 0 ) ) CountTable
2023-12-13 12:24:34.085 +08:00 [DBG] Yi-SQL执行:SELECT `Id`,`IsDeleted`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State`,`DeptName`,`DeptCode`,`Leader`,`ParentId`,`Remark` FROM `Dept` WHERE ( `IsDeleted` = 0 ) ORDER BY `OrderNum` ASC LIMIT 0,10
2023-12-13 12:24:34.094 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Application.Dtos.PagedResultDto`1[[Yi.Framework.Rbac.Application.Contracts.Dtos.Dept.DeptGetListOutputDto, Yi.Framework.Rbac.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-12-13 12:24:34.097 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.DeptService.GetListAsync (Yi.Framework.Rbac.Application) in 73.3655ms
2023-12-13 12:24:34.097 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.DeptService.GetListAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.098 +08:00 [DBG] Yi-请求追踪:{
"ApplicationName": "Yi.Abp.Web",
"UserId": "36532e8b-109b-c6dd-fa9e-3a0f5fe48619",
"UserName": "cc",
"TenantId": null,
"TenantName": null,
"ImpersonatorUserId": null,
"ImpersonatorTenantId": null,
"ImpersonatorUserName": null,
"ImpersonatorTenantName": null,
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 78,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/dept",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.DeptService",
"MethodName": "GetListAsync",
"Parameters": "{\"input\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"state\":null,\"deptName\":null,\"deptCode\":null,\"leader\":null,\"startTime\":null,\"endTime\":null,\"sorting\":null,\"skipCount\":0,\"maxResultCount\":10}}",
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 25,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:34.100 +08:00 [DBG] Yi-SQL执行: SELECT COUNT(1) FROM (SELECT `user`.`Id` AS `Id` ,`user`.`Name` AS `Name` ,`user`.`Age` AS `Age` ,`user`.`UserName` AS `UserName` ,`user`.`Icon` AS `Icon` ,`user`.`Nick` AS `Nick` ,`user`.`Email` AS `Email` ,`user`.`Ip` AS `Ip` ,`user`.`Address` AS `Address` ,`user`.`Phone` AS `Phone` ,`user`.`Introduction` AS `Introduction` ,`user`.`Remark` AS `Remark` ,`user`.`Sex` AS `Sex` ,`user`.`DeptId` AS `DeptId` ,`user`.`CreationTime` AS `CreationTime` ,`user`.`CreatorId` AS `CreatorId` ,`user`.`State` AS `State` ,`dept`.`DeptName` AS `DeptName` FROM (SELECT * FROM (SELECT `Id`,`IsDeleted`,`Name`,`Age`,`UserName`,`Password`,`Salt`,`Icon`,`Nick`,`Email`,`Ip`,`Address`,`Phone`,`Introduction`,`Remark`,`Sex`,`DeptId`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State` FROM `User` WHERE ( `State` = 1 ) AND ( `IsDeleted` = 0 ) ) MergeTable ) `user` Left JOIN `Dept` `dept` ON ( `user`.`DeptId` = `dept`.`Id` ) AND ( `dept`.`IsDeleted` = 0 ) WHERE ( `user`.`IsDeleted` = 0 ) ) CountTable
2023-12-13 12:24:34.101 +08:00 [DBG] Yi-SQL执行:SELECT `user`.`Id` AS `Id` ,`user`.`Name` AS `Name` ,`user`.`Age` AS `Age` ,`user`.`UserName` AS `UserName` ,`user`.`Icon` AS `Icon` ,`user`.`Nick` AS `Nick` ,`user`.`Email` AS `Email` ,`user`.`Ip` AS `Ip` ,`user`.`Address` AS `Address` ,`user`.`Phone` AS `Phone` ,`user`.`Introduction` AS `Introduction` ,`user`.`Remark` AS `Remark` ,`user`.`Sex` AS `Sex` ,`user`.`DeptId` AS `DeptId` ,`user`.`CreationTime` AS `CreationTime` ,`user`.`CreatorId` AS `CreatorId` ,`user`.`State` AS `State` ,`dept`.`DeptName` AS `DeptName` FROM (SELECT * FROM (SELECT `Id`,`IsDeleted`,`Name`,`Age`,`UserName`,`Password`,`Salt`,`Icon`,`Nick`,`Email`,`Ip`,`Address`,`Phone`,`Introduction`,`Remark`,`Sex`,`DeptId`,`CreationTime`,`CreatorId`,`LastModifierId`,`LastModificationTime`,`OrderNum`,`State` FROM `User` WHERE ( `State` = 1 ) AND ( `IsDeleted` = 0 ) ) MergeTable ) `user` Left JOIN `Dept` `dept` ON ( `user`.`DeptId` = `dept`.`Id` ) AND ( `dept`.`IsDeleted` = 0 ) WHERE ( `user`.`IsDeleted` = 0 ) LIMIT 0,10
2023-12-13 12:24:34.104 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Application.Dtos.PagedResultDto`1[[Yi.Framework.Rbac.Application.Contracts.Dtos.User.UserGetListOutputDto, Yi.Framework.Rbac.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-12-13 12:24:34.108 +08:00 [INF] Executed action Yi.Framework.Rbac.Application.Services.UserService.GetListAsync (Yi.Framework.Rbac.Application) in 83.991ms
2023-12-13 12:24:34.108 +08:00 [INF] Executed endpoint 'Yi.Framework.Rbac.Application.Services.UserService.GetListAsync (Yi.Framework.Rbac.Application)'
2023-12-13 12:24:34.108 +08:00 [DBG] Yi-请求追踪:{
"ApplicationName": "Yi.Abp.Web",
"UserId": "36532e8b-109b-c6dd-fa9e-3a0f5fe48619",
"UserName": "cc",
"TenantId": null,
"TenantName": null,
"ImpersonatorUserId": null,
"ImpersonatorTenantId": null,
"ImpersonatorUserName": null,
"ImpersonatorTenantName": null,
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 88,
"ClientId": null,
"CorrelationId": null,
"ClientIpAddress": "::ffff:127.0.0.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/user",
"Actions": [
{
"ServiceName": "Yi.Framework.Rbac.Application.Services.UserService",
"MethodName": "GetListAsync",
"Parameters": "{\"input\":{\"name\":null,\"userName\":null,\"phone\":null,\"state\":true,\"deptId\":null,\"ids\":null,\"startTime\":null,\"endTime\":null,\"sorting\":null,\"skipCount\":1,\"maxResultCount\":10}}",
"ExecutionTime": "2023-12-13 12:24:34",
"ExecutionDuration": 32,
"ExtraProperties": {}
}
],
"Exceptions": [],
"ExtraProperties": {},
"EntityChanges": [],
"Comments": []
}
2023-12-13 12:24:35.826 +08:00 [INF] 用户cc离开了当前已连接0个
2023-12-13 12:24:35.827 +08:00 [INF] Executed endpoint '/hub/main'

View File

@@ -1,21 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.14" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.12" />
<PackageReference Include="Serilog.AspNetCore" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="7.4.2" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="7.4.1" />
<PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.4.1" />
<PackageReference Include="Volo.Abp.Autofac" Version="7.4.1" />
<PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="8.0.0-rc.3" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="8.0.0-rc.3" />
<PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.0.0-rc.3" />
<PackageReference Include="Volo.Abp.Autofac" Version="8.0.0-rc.3" />
</ItemGroup>
<ItemGroup>