微信小程序获取手机号

This commit is contained in:
lcsin
2023-10-23 21:27:16 +08:00
committed by GitHub
parent 3611499ade
commit 7afcfc0cd6

View File

@@ -83,6 +83,7 @@ func (_wx *wxTools) Getuserphonenumber(code string) (string, error) { // 手机
return "", e
}
// ...
var url = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=" + accessToken
params := map[string]interface{}{