|
|
|
@ -166,11 +166,13 @@ public class AppAuthService {
|
|
|
|
|
//过滤掉表情
|
|
|
|
|
String ip = co.yixiang.app.common.util.IpUtil.getRequestIp(); |
|
|
|
|
yxUser = YxUser.builder() |
|
|
|
|
.username(phoneNoInfo.getPhoneNumber()) |
|
|
|
|
.username(StringUtils.isNotBlank(phoneNoInfo.getPhoneNumber())?phoneNoInfo.getPhoneNumber():session.getOpenid()) |
|
|
|
|
// .username(phoneNoInfo.getPhoneNumber())
|
|
|
|
|
.phone(phoneNoInfo.getPhoneNumber()) |
|
|
|
|
.addIp(ip) |
|
|
|
|
.openId(session.getOpenid()) |
|
|
|
|
.lastIp(ip) |
|
|
|
|
.nickname(StringUtils.isNotBlank(phoneNoInfo.getPhoneNumber())?phoneNoInfo.getPhoneNumber():session.getOpenid()) |
|
|
|
|
.userType(AppFromEnum.ROUNTINE.getValue()) |
|
|
|
|
.build(); |
|
|
|
|
|
|
|
|
|