获取用户的UnionId

获取用户的UnionId
https://api.weixin.qq.com/wxa/getpaidunionid?access_token=ACCESS_TOKEN&openid=OPENID请求这个接口获取用户的UnionId报下面这个错误

"{"errcode":40101,"errmsg":"missing parameter hint: [rhOdwnNre-1WOgFA] rid: 5f227843-50aa9cf2-51467ce2"}"


https://api.weixin.qq.com/wxa/getpaidunionid?access_ token=ACCESS_ Token & openid = openid requests this interface to obtain the unionid of the user and reports the following error "{" errCode ": 40101," errmsg ":" missing parameter hint: [rhodwnnre-1wogfa] rid: 5f227843-50aa9cf2-51467ce2 "}"

回答:

stop eating:

这三个参数,一个都没传?

The Right One:对,上面介绍不是说不用填写吗
stop eating:需要传,不用传干嘛列举这三个参数呢
The Right One:我是小程序授权登录获取UnionId,不是支付获取UnionId,
stop eating:那你调错接口了,仔细看看接口地址,这是支付时获取的
The Right One:

参数写的没有问题,查看好几遍了

-EOF-