From b3d8edee84a13dc81337f0befb8bc3d57872f401 Mon Sep 17 00:00:00 2001
From: zongzhibin <zongzhibin@weben-smart.com>
Date: 周一, 25 11月 2024 13:59:17 +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