收藏
回答

物流助手即时配送API,增加订单addorder时,返回签名错误的问题?

按照微信官方物流即时配送API文档,测试账号签名一致,测试页没有问题。但正式环境总返回签名错误, 有人帮忙吗?

下边是请求包

{"cargo":{"cargo_first_class":"甜品饮料","cargo_second_class":"咖啡","goods_detail":{"goods":[{"good_count":1,"good_name":"气泡冰美式","good_price":23,"good_unit":"元"}]},"goods_height":1,"goods_length":1,"goods_value":26,"goods_weight":1,"goods_width":1},"delivery_id":"SS","delivery_sign":"945595e078a991bdbda6a0b20077fbc7d8db51a1","openid":"**隐藏**","order_info":{"delivery_service_code":"SS","expected_delivery_time":0,"is_direct_delivery":1,"is_finish_code_needed":0,"is_insured":0,"is_pickup_code_needed":0,"note":"","order_time":1680402892,"order_type":0,"poi_seq":"2号订单","tips":0},"receiver":{"name":"王先生","city":"海口市","address":"海口市秀英区海秀街道滨海大道141号招商局海南区域总部项目一期项目3号楼103号商铺 招商局大厦","address_detail":" ","phone":"13322039616","lng":110.28829,"lat":20.01894,"coordinate_type":0},"sender":{"name":"豆豆谷Cir coffee","city":"海口市","address":"海南省海口市秀英区招商局大厦东侧125铺面","address_detail":" ","phone":"13876028***","lng":110.289583,"lat":20.017232,"coordinate_type":0},"shop":{"wxa_path":"/pages/orders/detail?receiptId=480cccb96428e9c20000089d5ece5978","img_url":"https://636c-cloud1-4gn63ecw15495fb7-1315263307.tcb.qcloud.la/250936.png?sign=71c374cfe201d091023ee07fd3202c9a&t=1679485277","goods_name":"豆豆谷咖啡","goods_count":1,"wxa_appid":"wx3d808b79c4b87086"},"shop_no":"2720392","sub_biz_id":"001","shop_order_id":"480cccb96428e9c20000089d5ece5978","shopid":"M20133108156"}

下边是响应数据

{"resultcode":1,"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}
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容