From 13dd81a5c00a2f8c8335f7a0ccc4788e38a65322 Mon Sep 17 00:00:00 2001 From: "java_cuibaocheng@163.com" Date: Wed, 13 Dec 2023 12:46:05 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=9F=AD=E4=BF=A1=E5=8F=91=E9=80=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E7=B3=8A=E6=90=9C=E7=B4=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=202.=20=E7=9F=AD=E4=BF=A1=E6=A8=A1=E6=9D=BF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=A1=AB=E5=85=85=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenlion/smessage/login/KeXieUserAuthenticationProvider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cn/com/tenlion/smessage/login/KeXieUserAuthenticationProvider.java b/src/main/java/cn/com/tenlion/smessage/login/KeXieUserAuthenticationProvider.java index ddcbfe0..b1f186e 100644 --- a/src/main/java/cn/com/tenlion/smessage/login/KeXieUserAuthenticationProvider.java +++ b/src/main/java/cn/com/tenlion/smessage/login/KeXieUserAuthenticationProvider.java @@ -46,6 +46,7 @@ public class KeXieUserAuthenticationProvider implements AuthenticationProvider { // 查找 openid 用户名 UserPO userPO = userService.getPOByUsername(username.toLowerCase()); if (userPO == null) { + System.out.println(username); LOG.debug("用户不存在,创建用户, openid:{}, mobile: {}", username, keXieUserInfo.getMobile()); // 本地创建用户 userService.saveDefaultUserAndReturnId(username, keXieUserInfo.getNickname(), UserStateEnum.NORMAL.getValue(), UserTypeEnum.SYSTEM.getValue());