From ab113ce9156d8ab54b3a4da9da6b3939875a928f Mon Sep 17 00:00:00 2001 From: zongzhibin <zongzhibin@weben-smart.com> Date: 周五, 22 11月 2024 13:11:12 +0800 Subject: [PATCH] add --- LA24030_LuLiPackageLine_Wms/Admin.NET.Core/Service/Auth/SysAuthService.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LA24030_LuLiPackageLine_Wms/Admin.NET.Core/Service/Auth/SysAuthService.cs b/LA24030_LuLiPackageLine_Wms/Admin.NET.Core/Service/Auth/SysAuthService.cs index 7df3874..f163b10 100644 --- a/LA24030_LuLiPackageLine_Wms/Admin.NET.Core/Service/Auth/SysAuthService.cs +++ b/LA24030_LuLiPackageLine_Wms/Admin.NET.Core/Service/Auth/SysAuthService.cs @@ -69,12 +69,12 @@ throw Oops.Oh(ErrorCodeEnum.D1027); // 鏄惁寮�鍚獙璇佺爜 - if (await _sysConfigService.GetConfigValue<bool>(CommonConst.SysCaptcha)) - { - // 鍒ゆ柇楠岃瘉鐮� - if (!_captcha.Validate(input.CodeId.ToString(), input.Code)) - throw Oops.Oh(ErrorCodeEnum.D0008); - } + //if (await _sysConfigService.GetConfigValue<bool>(CommonConst.SysCaptcha)) + //{ + // // 鍒ゆ柇楠岃瘉鐮� + // if (!_captcha.Validate(input.CodeId.ToString(), input.Code)) + // throw Oops.Oh(ErrorCodeEnum.D0008); + //} // 璐﹀彿鏄惁瀛樺湪 var user = await _sysUserRep.AsQueryable().Includes(t => t.SysOrg).ClearFilter().FirstAsync(u => u.Account.Equals(input.Account)); -- Gitblit v1.9.3