|
|
|
@ -135,6 +135,7 @@ public class WechatController { |
|
|
|
|
user.setOpenId(openId); |
|
|
|
|
user.setRegTime(new Date()); |
|
|
|
|
user.setStatus(1); |
|
|
|
|
user.setGold(0); |
|
|
|
|
user.setPhone(phoneNoInfo.getPurePhoneNumber()); |
|
|
|
|
highUserService.insertUser(user); |
|
|
|
|
} else { |
|
|
|
@ -154,6 +155,7 @@ public class WechatController { |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -189,6 +191,7 @@ public class WechatController { |
|
|
|
|
user.setOpenId(openId); |
|
|
|
|
user.setRegTime(new Date()); |
|
|
|
|
user.setStatus(1); |
|
|
|
|
user.setGold(0); |
|
|
|
|
user.setHeaderImg(userInfo.getAvatarUrl()); |
|
|
|
|
user.setName(userInfo.getNickName()); |
|
|
|
|
highUserService.insertUser(user); |
|
|
|
|