|
|
@ -196,8 +196,7 @@ public class WeChatAouth2Service {
|
|
|
|
// 如果当前手机号不存在,那就是新用户
|
|
|
|
// 如果当前手机号不存在,那就是新用户
|
|
|
|
UserInfo loginUserInfo = new UserInfo();
|
|
|
|
UserInfo loginUserInfo = new UserInfo();
|
|
|
|
|
|
|
|
|
|
|
|
if(StringUtils.isNotBlank(wechatUsername))
|
|
|
|
loginUserInfo.setWxNickname(wechatUsername);
|
|
|
|
userInfo.setWxNickname(wechatUsername);
|
|
|
|
|
|
|
|
loginUserInfo.setWxId(openId);
|
|
|
|
loginUserInfo.setWxId(openId);
|
|
|
|
loginUserInfo.setMobile(loginReq.getMobile());
|
|
|
|
loginUserInfo.setMobile(loginReq.getMobile());
|
|
|
|
loginUserInfo.setLastUseDeviceId(loginReq.getDeviceId());
|
|
|
|
loginUserInfo.setLastUseDeviceId(loginReq.getDeviceId());
|
|
|
|