删除用户的所有收藏接口提示未授权-48001
- 当前 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); |