2021-05-13
支付宝小程序
获取用户信息
// 微信授权登录
getAuthCode: function(e) {
var that = this
my.getAuthCode({
scopes: ['auth_user'],
// 主动授权:auth_user,静默授权:auth_base。或者其它scope。如需同时获取用户多项授权,可在 scopes 中传入多个 scope 值。
success: (res) => {
console.log(r
原创
2021-05-13 09:58:03 ·
102 阅读 ·
0 评论