摘要: 原因是开发时设置了不检查域名是否合法,去后台设置上就可以了 阅读全文
posted @ 2020-12-14 10:51 liessay 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 页面增加一个按钮 <button type="default" open-type="getUserInfo" @click="getUserInfo">UserInfo</button> 前端解密 安装 crypto-js npm install crypto-js 下载 WXBizDataCry 阅读全文
posted @ 2020-12-14 09:33 liessay 阅读(11115) 评论(0) 推荐(1) 编辑
摘要: 参考资料: 微信小程序官方文档 uniapp开发微信小程序获取用户手机号 页面增加一个按钮 <button open-type="getPhoneNumber" @getphonenumber="onGetPhoneNumber">唤起授权</button> 前端解密 安装 crypto-js np 阅读全文
posted @ 2020-12-14 09:14 liessay 阅读(12444) 评论(2) 推荐(1) 编辑