小程序用户信息API
wx.getUserInfo 获取用户信息
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
wx.authorize 提前向用户发起授权请求
scope 需要获取权限的 scope
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
任务
- ?不会了怎么办
-
wx.getUserInfo 获取用户信息
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
wx.authorize 提前向用户发起授权请求
scope 需要获取权限的 scope
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数