|
|
|
@ -1106,7 +1106,7 @@ public class AppUserServiceImpl implements AppUserService { |
|
|
|
WxMaJscode2SessionResult wxMaJscode2SessionResult = wxMaService.jsCode2SessionInfo(formDto.getWxCode()); |
|
|
|
WxMaPhoneNumberInfo phoneNoInfo = wxMaService.getUserService().getPhoneNoInfo(wxMaJscode2SessionResult.getSessionKey(), formDto.getEncryptedData(), formDto.getIv()); |
|
|
|
if (null != phoneNoInfo) { |
|
|
|
return new Result().ok(phoneNoInfo.getPhoneNumber()); |
|
|
|
return new Result().ok(phoneNoInfo.getPurePhoneNumber()); |
|
|
|
} |
|
|
|
} catch (WxErrorException e) { |
|
|
|
e.printStackTrace(); |
|
|
|
|