From 4a5c4a1664a14467bbeac68f53e18b10eaf8ba39 Mon Sep 17 00:00:00 2001 From: zuohuaijun Date: Tue, 18 Jun 2024 02:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E1=E3=80=81=E5=8D=87=E7=BA=A7Furion?= =?UTF-8?q?=20v4.9.4.1=20=202=E3=80=81=E4=BF=AE=E5=A4=8D=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?goview=E7=99=BB=E5=BD=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj | 8 ++++---- .../Service/GoViewSys/GoViewSysService.cs | 4 ++-- .../Admin.NET.Plugin.ReZero.csproj | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj b/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj index 5f5d9587..2e13dc2e 100644 --- a/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj +++ b/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj @@ -18,9 +18,9 @@ - - - + + + @@ -37,7 +37,7 @@ - + diff --git a/Admin.NET/Plugins/Admin.NET.Plugin.GoView/Service/GoViewSys/GoViewSysService.cs b/Admin.NET/Plugins/Admin.NET.Plugin.GoView/Service/GoViewSys/GoViewSysService.cs index 7a23b54c..5da7441f 100644 --- a/Admin.NET/Plugins/Admin.NET.Plugin.GoView/Service/GoViewSys/GoViewSysService.cs +++ b/Admin.NET/Plugins/Admin.NET.Plugin.GoView/Service/GoViewSys/GoViewSysService.cs @@ -34,7 +34,7 @@ public class GoViewSysService : IDynamicApiController [DisplayName("GoView 登录")] public async Task Login(GoViewLoginInput input) { - _sysCacheService.Set(CommonConst.SysCaptcha, false); + _sysCacheService.Set($"{CacheConst.KeyConfig}{CommonConst.SysCaptcha}", false); input.Password = CryptogramUtil.SM2Encrypt(input.Password); var loginResult = await _sysAuthService.Login(new LoginInput() @@ -43,7 +43,7 @@ public class GoViewSysService : IDynamicApiController Password = input.Password, }); - _sysCacheService.Remove(CommonConst.SysCaptcha); + _sysCacheService.Remove($"{CacheConst.KeyConfig}{CommonConst.SysCaptcha}"); var sysUser = await _sysUserRep.AsQueryable().ClearFilter().FirstAsync(u => u.Account.Equals(input.Username)); return new GoViewLoginOutput() diff --git a/Admin.NET/Plugins/Admin.NET.Plugin.ReZero/Admin.NET.Plugin.ReZero.csproj b/Admin.NET/Plugins/Admin.NET.Plugin.ReZero/Admin.NET.Plugin.ReZero.csproj index 7054a940..4a02b77d 100644 --- a/Admin.NET/Plugins/Admin.NET.Plugin.ReZero/Admin.NET.Plugin.ReZero.csproj +++ b/Admin.NET/Plugins/Admin.NET.Plugin.ReZero/Admin.NET.Plugin.ReZero.csproj @@ -24,7 +24,7 @@ - +