微信登录模块获取用户数据
微信登录获取头像和名称等用户信息 <button class="sys_btn" open-type="getUserInfo" lang="zh_CN" @getuserinfo="appLoginWx">登录</button> appLoginWx() {let _this = this;// #ifdef MP-WEIXINuni.getProvider({service: ‘oauth’,success: function(res) {if (~res.
原创
2020-11-27 11:22:46 ·
409 阅读 ·
0 评论