- 当前 Bug 的表现(可附上截图)
{ errcode: 48001, errmsg: 'api unauthorized' } |
- 预期表现
{ "del_num" : 2, "errcode" : 0, "errmsg" : "success" } |
- 复现路径
https://api.weixin.qq.com/mall/deletebizallshoppinglist?access_token=ACCESS_TOKEN
- 提供一个最简复现 Demo
const accessToken = 'accessToken' ; const result = await ctx.curl(`https: //api.weixin.qq.com/mall/deletebizallshoppinglist?access_token=${accessToken}`, { method: 'POST' , contentType: 'json' , data: { "user_open_id" : "some openid" }, dataType: 'json' , }); console.log(result.data); |
https://developers.weixin.qq.com/miniprogram/introduction/widget/order/quickstart/index.html麻烦先核实下
你好,小程序是已经认证过的。
麻烦补充下appid
appid: wx21c7506e98a2fe75