删除用户的所有收藏接口提示未授权-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);[代码]