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());