【即时配送】使用达达配送账号,下单接口报错 app_key无效?
{"errcode":null,"errmsg":null,"resultcode":2001,"resultmsg":"app_key无效","fee":0,"deliverfee":0,"couponfee":0,"tips":0,"insurancefee":null,"distance":0,"waybillId":"","orderStatus":0,"finishCode":0,"pickupCode":0,"dispatchDuration":0,"success":false,"finalStatus":2}
请问是什么原因?
接口:https://api.weixin.qq.com/cgi-bin/express/local/business/order/add 是开发的接口 URL 吗???
虽然返回appkey无效,但是不真的代表是appkey有问题。因为有微信的系统,后面还有达达的系统,中转多了,微信和达达也不知道到底怎么回事。需要自己仔细核对文档中要求的每一个字段,不要漏掉。
大家好,我发现了微信的问题不能用正常的思路去解决。我不知道微信是不是请的临时工还是外包工。参数传错了都会报app_key不存在。问客服也没用,感觉客服都是机器人+大傻*。通过我逐一排查,我终于找到了问题。问题一:cargo 的结构下的两个必传检查一下,一般都会漏掉goods_weight。估计是官方刚改的文档
问题二:goods 的结构下的good_count必须要大于0
如果解决您的问题。欢迎给我点赞。祝您每天都开心
问题解决了吗 我也遇到了同样的问题
appkey 确认过是和查询绑定账号返回的一致,能帮忙查看下什么原因吗?有用户接通过达达的即时配送吗
你好,appkey: 一般为商家在登录配送公司开放平后分配的相应的appkey值,麻烦和商家确认一下。
{
"shopid":"dadaf3fa37f446c9521",
"shop_order_id":"95",
"shop_no":"108997-1446863",
"delivery_sign":"e3b654fa2851dd4b7abbff09d5fed2acfadcf105",
"delivery_id":"DADA",
"openid":"o67hJ484haAT8a4nerxN-e3IhtVo",
"sender":{
"name":"**",
"city":"",
"address":"**",
"address_detail":"**",
"phone":"**",
"lng":"**",
"lat":"**"
},
"receiver":{
"name":"**",
"address":"**",
"address_detail":"**",
"phone":"**",
"lng":"**",
"lat":"**"
},
"cargo":{
"goods_value":1,
"goods_height":1,
"goods_length":1,
"goods_width":1,
"cargo_first_class":"日用百货",
"cargo_second_class":"酒水行"
},
"order_info":{
"order_type":0,
"note":"1",
"is_insured":0,
"tips":1,
"is_direct_delivery":0
},
"shop":{
"wxa_path":"/pages/ucenter/orderDetail/orderDetail?id=95",
"img_url":"https://litemall-1302744922.cos.ap-nanjing.myqcloud.com/y3cgb9y3l0gbjtofut7d.jpg",
"goods_name":"百威金樽",
"goods_count":1
}
}
{
"shopid":"dadaf3fa37f446c9521",
"shop_order_id":"95",
"shop_no":"108997-1446863",
"delivery_sign":"e3b654fa2851dd4b7abbff09d5fed2acfadcf105",
"delivery_id":"DADA",
"openid":"o67hJ484haAT8a4nerxN-e3IhtVo",
"sender":{
"name":"**",
"city":"",
"address":"**",
"address_detail":"**",
"phone":"**",
"lng":"**",
"lat":"**"
},
"receiver":{
"name":"**",
"address":"**",
"address_detail":"**",
"phone":"**",
"lng":"**",
"lat":"**"
},
"cargo":{
"goods_value":1,
"goods_height":1,
"goods_length":1,
"goods_width":1,
"cargo_first_class":"日用百货",
"cargo_second_class":"酒水行"
},
"order_info":{
"order_type":0,
"note":"1",
"is_insured":0,
"tips":1,
"is_direct_delivery":0
},
"shop":{
"wxa_path":"/pages/ucenter/orderDetail/orderDetail?id=95",
"img_url":"https://litemall-1302744922.cos.ap-nanjing.myqcloud.com/y3cgb9y3l0gbjtofut7d.jpg",
"goods_name":"百威金樽",
"goods_count":1
}
}