【即时配送】模拟配送公司更新订单接口 一直报args error rid?美团配送
🇱 ⁶⁶⁶2020-08-17356浏览问题模块: API和组件
【请求地址】: https://api.weixin.qq.com/cgi-bin/express/local/business/order/add?access_token=49_3HUKGNkOYEqJ5UnqvHJ8dMilVG2DX4miH0Ck4ol1UTeUAbbiINNRRYEb537KevwDKaPDOtAI5IvCqbXe50oxb5YEPUqE4I9YkncZgaOQHkFZK7hvPbHnde79AiANwRVVXH0IT6Ok4L6ZGl3xJSQbAJAFOM
【请求参数】:
{
shopid: '正常的shopid',
shop_order_id: '1612507786471',
shop_no: 'test_0001',
delivery_sign: '28567b280783ede99a2ca2af3e4aee6a9fda9bff',
delivery_id: '16142516',
openid: 'oTRRB5LeTV9AgcWr-yuybbbLeNjQ',
receiver: {
address: 'xxx地铁站',
address_detail: '2号楼202',
city: '北京市',
coordinate_type: 0,
lat: 40.15296,
lng: 116.50603,
name: '老王',
phone: '18512345678'
},
cargo: {
cargo_first_class: '美食夜宵',
cargo_second_class: '零食小吃',
goods_detail: { goods: [Array] },
goods_value: 5,
goods_width: 2
},
shop: {
goods_count: 2,
goods_name: '食品',
img_url: 'https://mmbiz.qpic.cn/mmbiz_png/xxxxxxxxx/0?wx_fmt=png'
}
}
【错误信息】:错误代码:930561, 错误信息:args error rid: 6145b417-2ea6bf84-68f2beca,微信原始报文:
{
"errcode": 930561,
"errmsg": "args error rid: 6145b417-2ea6bf84-68f2beca"
}
没有返回具体是哪个字段的错误
你好,6145b417-2ea6bf84-68f2beca 这个rid对应的是调用
https://api.weixin.qq.com/cgi-bin/express/local/business/order/add
同城配送下单接口。
麻烦检查下是不是接口地址调用错了呢
// 参数
{
shopid: '25ac3b804b6547d193dc272c03e85a98',
delivery_sign: '3cac0d91cffaf181cb0564f5963292005929bd66',
delivery_id: 'MTPS',
shop_order_id: '1612507786471',
shop_no: '10001216219290485469748',
openid: 'oTRRB5LeTV9AgcWr-yuybbbLeNjQ',
receiver: {
name: '张三',
city: '深圳市',
address: '深圳市龙岗区南湾街道下李朗社区大坑肚17号二楼201号',
address_detail: '深圳市龙岗区南湾街道下李朗社区大坑肚17号二楼201号',
phone: '13729522491',
lng: '114.132362',
lat: '22.639883'
},
cargo: {
cargo_first_class: '美食夜宵',
cargo_second_class: '快餐/地方菜',
goods_detail: { goods: [Array] },
goods_height: 1,
goods_length: 3,
goods_value: 5,
goods_weight: 1,
goods_width: 2
},
shop: {
goods_count: 2,
goods_name: '小吃',
img_url: 'http://storage.newbeeaichain.com/shan-m/images/17addb91f6d.jpg',
wxa_path: '/page/index/index'
},
order_info: {
delivery_service_code: '100003',
expected_delivery_time: 0,
is_direct_delivery: 0,
cash_on_delivery: 1,
cash_on_pickup: 1,
is_insured: 0,
note: 'test_note',
评论不支持贴太长的代码 // 参数 { shopid: '25ac3b804b6547d193dc272c03e85a98', delivery_sign: '3cac0d91cffaf181cb0564f5963292005929bd66', delivery_id: 'MTPS', shop_order_id: '1612507786471', shop_no: '10001216219290485469748', openid: 'oTRRB5LeTV9AgcWr-yuybbbLeNjQ', receiver: { name: '张三', city: '深圳市', address: '深圳市龙岗区南湾街道下李朗社区大坑肚17号二楼201号', address_detail: '深圳市龙岗区南湾街道下李朗社区大坑肚17号二楼201号', phone: '13729522491', lng: '114.132362', lat: '22.639883' }, cargo: { cargo_first_class: '美食夜宵', cargo_second_class: '快餐/地方菜', goods_detail: { goods: [Array] }, goods_height: 1, goods_length: 3, goods_value: 5, goods_weight: 1, goods_width: 2 }, shop: { goods_count: 2, goods_name: '小吃', img_url: 'http://storage.newbeeaichain.com/shan-m/images/17addb91f6d.jpg', wxa_path: '/page/index/index' }, order_info: { delivery_service_code: '100003', expected_delivery_time: 0, is_direct_delivery: 0, cash_on_delivery: 1, cash_on_pickup: 1, is_insured: 0, note: 'test_note', order_time: 1632465453, order_type: 0, poi_seq: '1111', is_finish_code_needed: 0, is_pickup_code_needed: 0 } } // 返回 { "resultcode": 214, "resultmsg": "不支持该支付方式", "fee": 0, "deliverfee": 0, "couponfee": 0, "tips": 0, "distance": 0, "waybill_id": "", "order_status": 0, "finish_code": 0, "pickup_code": 0, "dispatch_duration": 0, "sender_lng": 0, "sender_lat": 0 }