微信小程序授权获取手机号
wxml:
<text>pages/logins/logins.wxml</text> // <button open-type="getPhoneNumber" bindtap="onClik">获取手机号</button>
参考
够买书籍进行支付 https://www.cnblogs.com/xiaoyantongxue/p/15629503.html
手机验证码登录
https://www.cnblogs.com/xiaoyantongxue/p/15472915.html
微信小程序手机号的获取
https://www.cnblogs.com/xiaoyantongxue/p/15705814.html