我都是再拼一个随机数下单
物流助手发货微信报错订单号重复,现在不知道怎么处理了?这边使用了物流助手发货,但是最近一直报错,报订单号错误,我们真的是很无奈,不知道怎么处理了。 2022-06-23 17:43:21【logistics_ret】2022062223373996851{"errcode":9300522,"errmsg":"this orderid is repeated rid: 62b435b9-4e4a2663-3d1f195a"}
2022-06-27问题已经解决了,不是app_key的原因。是goods_weight这个字段必须大于0
【即时配送】即时配送下单,调用接口报错,错误码 2001 app_key无效,麻烦看下怎么回事?调用接口:https://api.weixin.qq.com/cgi-bin/express/local/business/order/add?access_token=ru 入参: "sender": { "phone": "", "coordinate_type": 1, "address": "东莞市南城区银丰路XXX号", "name": "测试XXX店", "lng": 113.748711, "lat": 23.025871, "city": "东莞市", "address_detail": "(测试XXX店)" }, "delivery_id": "DADA", "shop_no": "10045", "shop": { "img_url": "xxx", "wxa_path": "/pages/order/detail/detail?orderId=100004881244&orderStoreId=11000488131893", "goods_name": "嘉顿瑞士卷三个装", "goods_count": 6 }, "shopid": "dadae674e926e255XXX", "receiver": { "phone": "15601159XXX", "coordinate_type": 1, "address": "胜和酒店式公寓", "name": "周道", "lng": 113.74916942132116, "lat": 23.026387540499584, "city": "东莞市", "address_detail": "2030" }, "order_info": { "expected_finish_time": 1635417900, "order_time": 1635413674, "rider_pick_method": 1, "delivery_service_code": "", "note": "17086#100004881244,", "order_type": 0 }, "openid": "o6QO75Q6bq1Wp9cGLy9efvGRw6Lg", "cargo": { "cargo_first_class": "日用百货", "goods_value": 18.6, "cargo_second_class": "超市", "goods_weight": 0 }, "shop_order_id": "100004881244", "access_token": "50_CnmuNQRuhlAWfqyPvzFZ_JwYvbM-fMrG2k9E9JSUOJu4j43wyZKpWK323vdkGh9BWK_xiQOc5JV_F4SOAhW5ydUgzzW5SOVey8g1IE2lHNox93kMJa4-US2TflKjMt2dbTNcm8tnNuJF7vz8HKYdABAZCQ", "delivery_sign": "3ad0805f481834f17c8d24e02da1608086f690a9" } 出参: { "resultcode": 2001, "resultmsg": "app_key无效", "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 }
2021-10-29找到原因了。谢谢。服务器没有开通外网访问权限
【即时配送】即时配送下单,调用接口报错,错误码 "errcode":40001,麻烦看下怎么回事?调用接口:https://api.weixin.qq.com/cgi-bin/express/local/business/order/add?access_token= 入参:access_token=50_UVoeStkh-OzF_pl5vdQGqT1Sw76Dxw0EUH0XVz2giKuAGRA4DGOnVMO8Ix8f2CpEswvdnb1csKr8Inv82cqVtxPXkPq3A6yluzuITIL9vAK1FyDG_9bld5vD4U3HqvuF3RzLrRcOHcHZwml7OQFfAAAIKZ,params:{"sender":{"phone":"","coordinate_type":1,"address":"湖南省XXXXX","name”:”XXXXXX店","lng":114.370089,"lat":30.528616,"city":"武汉市","address_detail”:”(XXXXXX店)"},"delivery_id":"DADA","shop_no":"8003","shop":{"img_url":"http://img.wscstrace.com/images/goods/21843/middle/O1CN01Fr1YfE2BQ6ibVKGNR_!!2680068332.jpg","wxa_path":"/pages/order/detail/detail?orderId=100700000018878&orderStoreId=10071000001894967","goods_name”:”XXXXXX/盒”,”goods_count":1.0},"shopid":"dada56e934cXXXXXX72","receiver":{"phone":"153XXXX3871","coordinate_type":1,"address”:”XXXXXX店","name":"刘","lng":114.37006993485731,"lat":30.527991091823857,"city":"武汉市","address_detail":"武商超市"},"order_info":{"expected_finish_time":1634213395,"order_time":1634210995,"rider_pick_method":1,"delivery_service_code":"","order_type":0},"openid":"owLFX48vzpQ-5A7Eq5ae1IlOe4h4","cargo":{"cargo_first_class":"日用百货","goods_value":22.8,"cargo_second_class":"超市","goods_weight":0.52},"shop_order_id":"10070XXXX18878","access_token":"50_UVoeStkh-OzF_pl5vdQGqT1Sw76Dxw0EUH0XVz2giKuAGRA4DGOnVMO8Ix8f2CpEswvdnb1csKr8Inv82cqVtxPXkPq3A6yluzuITIL9vAK1FyDG_9bld5vD4U3HqvuF3RzLrRcOHcHZwml7OQFfAAAIKZ","delivery_sign":"10e123126962b0bdc4042a6ee7930e85966c0286"} 出参:{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 616814eb-03fb8d80-4be56f3b"} 签名和accessToken都仔细检查了,找不到什么原因?
2021-10-15返回值:{"errcode":930561,"errmsg":"args error hint: [6C0527a394]"}
[物流助手] - 即时配送错误?INFO 2020-04-08 18:18:22 [main] [res--->:{"errcode":930561,"errmsg":"args error hint: [kwgv7a0106a394]"}] [com.earth.util.WeixinUtil] 预下单失败:args error hint: [kwgv7a0106a394]
2020-04-08