查询运费一直报错47001data format error detail: [post data?
let ydata = { "wx_store_id": "4000000000014568004", "user_lng": params.address.location.lng, "user_lat": params.address.location.lat, "user_address": "北京市海淀区学清嘉创大厦A座15层", "use_sandbox": 1, "user_name":"顺丰同城", "user_phone":"13800000138", "cargo_name": "榴莲披萨套餐", "cargo": { "cargo_name": "榴莲披萨套餐", "cargo_type": 1, "cargo_num": 7, "cargo_price": 5000, "cargo_weight": 500 } } wx.request('https://api.weixin.qq.com/cgi-bin/express/intracity/preaddorder?access_token='+result1.access_token, { method: 'POST', // data: JSON.stringify(ydata), contentType:'json', nestedQuerystring:true, dataType:'json', content:JSON.stringify(ydata), headers:{ Accept: "application/json" } }) [图片] 发送时候是Json,返回请求头是text/plain 请求数据也没问题,总之不知道问题出在哪里