1. 短信发送修改模糊搜索功能

2. 短信模板页面填充问题修改
This commit is contained in:
java_cuibaocheng@163.com 2023-12-13 12:46:05 +08:00
parent 3c793852fd
commit 13dd81a5c0

View File

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