From 5763edd7cbb4ac968c91d5adae444ef66fac6859 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期一, 28 八月 2023 08:40:11 +0800 Subject: [PATCH] 修改token登录 --- DocumentServiceAPI.Application/UserAndLogin/LogInController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs b/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs index c7e2d91..b9c52fd 100644 --- a/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs +++ b/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs @@ -76,7 +76,7 @@ case 0: throw Oops.Oh($"璐︽埛鎴栬�呭瘑鐮侀敊璇�"); case 1: - if (!needtoken) + if (!IsTokenPass) { needtoken = await _userService.CheckPsw(Tender[0].TenderId, Tender[0].EmployeeID, Parma.PassWord); -- Gitblit v1.9.1