GetPhoneNumber 小程序通过code获取用户手机号
(code string)
| 191 | |
| 192 | // GetPhoneNumber 小程序通过code获取用户手机号 |
| 193 | func (auth *Auth) GetPhoneNumber(code string) (*GetPhoneNumberResponse, error) { |
| 194 | return auth.GetPhoneNumberContext(context2.Background(), code) |
| 195 | } |
| 196 | |
| 197 | // CheckSession 检验登录态 |
| 198 | // see https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/user-login/checkSessionKey.html |
nothing calls this directly
no test coverage detected