传入参数如下:
{
addSource: 2,
wxAppid: 'wx43795e79ddb5ef7d',
orderId: event.orderId,
openid: 'o6BIq4-UC6gQJ2ETwHXqu54ffmG4',
deliveryId: "DB",
bizId: "773041600",
customRemark: event.customRemark,
sender: {
company: "尚兴科贸",
name: "张小亮",
mobile: "15290402002",
country: "中国",
province: "河南省",
city: "郑州市",
area: "新郑市",
address: "孟庄农民创业园C08栋",
},
receiver: {
name: '黄云龙',
mobile: '15617206858',
country: "中国",
province: '河南省',
city: '郑州市',
area: '管城回族区',
address: '新郑路123号(手机的家)',
},
cargo: {
count: 1,
weight: 1,
spaceX: 1,
spaceY: 1,
spaceZ: 1,
detailList: [{name: "配件", count: 1}],
},
shop: {
wxaPath: "/index/index",
imgUrl: "/image/icon.png",
goodsName: "配件",
goodsCount: 1,
},
insured: {
useInsured: 0,
insuredValue: 0,
},
service: {
serviceType: 1,
serviceName: "大件快递3.60",
},
expectTime: 0,
};
在出现“delivery logic fail”表示快递公司的系统返回错误,这时返回字段里有'delivery_resultcode'和'delivery_resultmsg'来透传快递公司的错误。
你的错误是:
{"errcode":9300501,"errmsg":"delivery logic fail","delivery_resultcode":20006,"delivery_resultmsg":"订单号不能大于20位!","waybill_data":[]}