wx.request({
url: 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=' + res.data.access_token,
data: {
scene:"?type=1",
page:"pages/mine/mine",
width:430,
auto_color:false,
line_color: { "r": "0", "g": "0", "b": "0" }
},
method: "POST",
success: function (res) {
console.log(JSON.stringify(res))
}
})
接口B一直提示{"data":{"errcode":41030,"errmsg":"invalid page hint: [jw2T0553wxa8]"},"header":{"Connection":"keep-alive","Content-Type":"application/json; charset=UTF-8","Content-Length":"62"},"statusCode":200,"errMsg":"request:ok"}
求教路径哪里错误了
是页面路径必须是已发布的小程序存在的
请提供appid
@jeremy 可否帮我看看!APP ID:wxa5066e2d98b07c8b 己发布了! 但还是一直提示 41030 invalid page hint
己发过是不是指提交审核为准!
wxe5c45251946533fc 还没发布,是不是必须是发布的才能用这个接口