框架类型 | 问题类型 | 操作时间 | AppID |
---|---|---|---|
小程序 | Bug | 1天前 | wx2c22eec6a36ea653 |
请求参数:
{
"code": "091OJ21w3lq6DZ285f2w3h69Hf2OJ21w"
}
但一直返回1007 ,用户数据不存在??
{
"errcode": 1007,
"errmsg": " rid: 637a0002-72f8a375-62794880"
}
网友回复
社区技术运营专员-许涛:
你好,可以查看下code是否获取错误
wx.login读取的code请用auth.code2Session的接口获取openid
wx.pluginLogin读取的code请用auth.getPluginOpenPId获取openid
可以查看下文档:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html