From 36bfd0a99d25d9497cb7fa7e46f34198f7c73abd Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 11 八月 2025 09:45:44 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Web.Entry/FlexJobApi.Web.Entry.csproj | 12 ++++++++++++ FlexJobApi.FlexJobServer.Test/Startup.cs | 2 ++ FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs | 6 +++++- FlexJobApi.Web.Entry/certs/pfx-password.txt | 1 + FlexJobApi.UserServer.Application/Auths/Commands/LoginCommandHandler.cs | 1 + 5 files changed, 21 insertions(+), 1 deletions(-) diff --git a/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs b/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs index 5f5dc2f..feef68c 100644 --- a/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs +++ b/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs @@ -44,6 +44,11 @@ public class LoginCommandCallback { /// <summary> + /// 鐢ㄦ埛Id + /// </summary> + public Guid Id { get; set; } + + /// <summary> /// 鐢ㄦ埛璁块棶浠ょ墝 /// </summary> public string AccessToken { get; set; } @@ -52,6 +57,5 @@ /// 鍒锋柊浠ょ墝 /// </summary> public string RefreshToken { get; set; } - } } diff --git a/FlexJobApi.FlexJobServer.Test/Startup.cs b/FlexJobApi.FlexJobServer.Test/Startup.cs index 6524f75..f5da276 100644 --- a/FlexJobApi.FlexJobServer.Test/Startup.cs +++ b/FlexJobApi.FlexJobServer.Test/Startup.cs @@ -24,6 +24,8 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IConfiguration config) { + app.UseInject(string.Empty); + } } } diff --git a/FlexJobApi.UserServer.Application/Auths/Commands/LoginCommandHandler.cs b/FlexJobApi.UserServer.Application/Auths/Commands/LoginCommandHandler.cs index 11c64e3..2bcd723 100644 --- a/FlexJobApi.UserServer.Application/Auths/Commands/LoginCommandHandler.cs +++ b/FlexJobApi.UserServer.Application/Auths/Commands/LoginCommandHandler.cs @@ -166,6 +166,7 @@ return new LoginCommandCallback { + Id = logier.Id, AccessToken = logier.AccessToken, RefreshToken = logier.RefreshToken, }; diff --git a/FlexJobApi.Web.Entry/FlexJobApi.Web.Entry.csproj b/FlexJobApi.Web.Entry/FlexJobApi.Web.Entry.csproj index f86dd1d..9d83ae0 100644 --- a/FlexJobApi.Web.Entry/FlexJobApi.Web.Entry.csproj +++ b/FlexJobApi.Web.Entry/FlexJobApi.Web.Entry.csproj @@ -27,6 +27,18 @@ <ProjectReference Include="..\FlexJobApi.FlexJobServer.Application\FlexJobApi.FlexJobServer.Application.csproj" /> <ProjectReference Include="..\FlexJobApi.UserServer.Application\FlexJobApi.UserServer.Application.csproj" /> </ItemGroup> + + + <ItemGroup> + <Folder Include="certs\" /> + </ItemGroup> + + + <ItemGroup> + <None Update="certs\81812333.com.pfx"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + </ItemGroup> <ProjectExtensions> <VisualStudio> <UserProperties properties_4launchsettings_1json__JsonSchema="" /> diff --git a/FlexJobApi.Web.Entry/certs/pfx-password.txt b/FlexJobApi.Web.Entry/certs/pfx-password.txt new file mode 100644 index 0000000..166430e --- /dev/null +++ b/FlexJobApi.Web.Entry/certs/pfx-password.txt @@ -0,0 +1 @@ +mcjml0iv \ No newline at end of file -- Gitblit v1.9.1