遇到的问题:即时配送下单后,系统推送到第三方平台,比如顺丰同城。长时间没有骑手接单时,微信接口返回的物流状态是502,过段时间后又有骑手接单了,导致数据不一致。想了解下第三方平台多长时间不接单,微信接口会返回502状态。还有的订单返回状态为0
使用的接口:POST https://api.weixin.qq.com/cgi-bin/express/local/business/order/get?access_token=ACCESS_TOKEN
入参:
{"access_token":"63_i9hqzWrUQov7CPai8dTXl-8K7o-ScKm6_yxgsy-t8lyEUCfj5k9n-euYHrCR6EKWGEpX8XUDVykvClCYM8fR19dlTeR","delivery_sign":"6564a9226557861d65645072a429c6f5b02c7058","shop_no":"1671514274164181732","shop_order_id":"204633500324","shopid":"1593619569"}
出参:
{"resultcode":5,"resultmsg":"不存在或合作方不合作:shopid","order_status":0,"action_msg":"","agent_info":[],"waybill_id":"","rider_name":"孔星","rider_phone":"17554255119","order_token":"-JStW9epKD_nDjumE7yeg4FM4B5O7SS2GGUMo9_mSjXPEFpGiG5L3dhNjWxt_AzoiZQkAVmSZGOMLQJZVCJS78lraaY-m0kVwgVaQqhpejk","delivery_id":"MTPS","delivery_name":"美团配送"}