{"resultcode":1,"resultmsg":"签名校验失败","fee":0,"deliverfee":0,"tips":0,"insurancefee":0,"distance":0,"delivery_token":"","dispatch_duration":0}
以上是全部返回结果, 拼接完参数后在postman请求过去的,麻烦看看 ,下面贴上我的请求参数:
------------------------ 分割 ------------------------
{
"shop": {
"goods_count": "5",
"goods_name": "巧克力蛋糕",
"img_url": "item-1301247723.cos.ap-guangzhou.myqcloud.com/vHmliY623I6LVvLlsf2u.png",
"wxa_path": "/pages/order-detail/index"
},
"receiver": {
"address": "府前路1号市政府大院(纪念堂地铁站D1口步行130米)",
"address_detail": "22222",
"city": "广州市",
"coordinate_type": "0",
"lat": "23.12908",
"lng": "113.26436",
"name": "猫君",
"phone": "17319189486"
},
"sender": {
"name": "聪帅",
"city": "广州市",
"address": "海珠区",
"address_detail": "广州市海珠区土华村",
"lat": "23.12908",
"lng": "113.26436",
"phone": "17319189486"
},
"cargo": {
"goods_value": "10",
"goods_weight": "0.1",
"cargo_first_class": "甜品饮料",
"cargo_second_class": "甜品"
},
"openid": "oWRL_5Q0RFo6QHMqLCq9NBE0k0iQ",
"delivery_id": "SS",
"shopid": "M20214025551",
"delivery_sign": "d54b430841fe21b8696fb1d8a60bace5563cee04",
"shop_order_id": "9702fff7-4b84-4de3-9336-b2775aecf021",
"shop_no": "2006629",
"order_info": {
"note": "备注信息",
"poi_seq": "T101",
"is_direct_delivery":1
}
}
你好,这个case失败的原因是 运力公司校验delivery_sign字段失败了,请确认一下是否按照规则生成的签名字段。
https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/immediate-delivery/read_first.html