|
|
|
@ -129,7 +129,7 @@ public class WechatController { |
|
|
|
|
if (phoneNoInfo == null || StringUtils.isEmpty(phoneNoInfo.getPurePhoneNumber())) { |
|
|
|
|
throw ErrorHelp.genException(SysCode.MiniProgram, ErrorCode.WECHAT_DECRYPT_ERROR, "用户phoneNumber解析失败"); |
|
|
|
|
} |
|
|
|
|
HighUser user = highUserService.findByPhone(phoneNoInfo.getPurePhoneNumber()); |
|
|
|
|
HighUser user = highUserService.findByOpenId(openId); |
|
|
|
|
if (user == null) { |
|
|
|
|
user = new HighUser(); |
|
|
|
|
user.setOpenId(openId); |
|
|
|
|