From 48e247047aa31da1929de4d8e027e79655ab5789 Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Tue, 26 Aug 2025 18:59:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=85=B3=E9=97=AD=E9=A6=96?= =?UTF-8?q?=E6=AC=A1=E7=99=BB=E5=BD=95=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/system/service/auth/AdminAuthServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agt-module-system/agt-module-system-server/src/main/java/org/agt/module/system/service/auth/AdminAuthServiceImpl.java b/agt-module-system/agt-module-system-server/src/main/java/org/agt/module/system/service/auth/AdminAuthServiceImpl.java index bf97736..ed6bc45 100644 --- a/agt-module-system/agt-module-system-server/src/main/java/org/agt/module/system/service/auth/AdminAuthServiceImpl.java +++ b/agt-module-system/agt-module-system-server/src/main/java/org/agt/module/system/service/auth/AdminAuthServiceImpl.java @@ -169,9 +169,9 @@ public class AdminAuthServiceImpl implements AdminAuthService { AdminUserDO user = authenticateByLdap(reqVO.getUsername(), reqVO.getPassword()); // 首次登录不返回token - if (user.getLoginDate() == null) { - return new AuthLoginRespVO(); - } +// if (user.getLoginDate() == null) { +// return new AuthLoginRespVO(); +// } // 如果 socialType 非空,说明需要绑定社交用户 if (reqVO.getSocialType() != null) {