什么意思?带上什么header?文档里没有说啊
传运单接口 trace_waybill 报错 40003 openid 错误怎么回事?{ "openid": "oHkir6_JKRj1LRKbIPuJEHroqUnE", "waybill_id": "XA18740126836", "sender_phone": "1515****2035", "receiver_phone": "151****2035", "delivery_id": "YZGN", "goods_info": { "detail_list": [ { "goods_name": "平信", "goods_img_url": "/uploads/20240511/e912efda0d6f43fbdc1a956d760763b7.jpg" } ] } } access_token 是对的 $url = "https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/trace_waybill?access_token=" . $this->accessToken(); $output = http_post($url, json_encode($param,JSON_UNESCAPED_UNICODE)); 返回错误:{"errcode":40003,"errmsg":"invalid openid detail: [openid错误] rid: 664f3576-37692e81-6f1787a1"}
10-23微信开发者工具给的提示信息已经十分明确了,这种情况下仔细看文档就好了。
wx.getUserInfo获取用户信息失败wx.getUserInfo({ openIdList: ['selfOpenId', 'ownAP0b9qt6AzvYOSWOX8VX8KMq0', 'ownAP0QJHIN2w3X60EUsj2Vah5Ig', 'ownAP0f8ANWUCcloXN1oZPfxtz0g'], lang: 'zh_CN', success: function (res){ console.log('success', res.data) }, fail: function (res) { console.log('fail', res.data) } [图片] })[图片]
2018-05-21