我司用了顺丰同城配送,有个业务场景是需要记录骑手修改预计送送达的时间。用了微信物流消息回调接口里的301状态中的reach_time字段,如下图所示
在接收到的回调消息中,这个字段的值不对,已找顺丰开发者协助排查,发现两边的数据不一致。顺丰给微信传的数据和微信回调接口收到的数据不一致,如下所示
顺丰给微信传的数据:
{"access_token":"58_X4CvaoXVik9koKGisxGW1mzF5eGjhcTicVGfFkCvlpgEM4J0_nJGYslle8cTq72Wls6ylMokg9ECiyloaKTNdKPyhs3t_LDtWQQDc5r5zSoSpX_yl6WXm0QYF2ebcLXzcywZG9TX58RFSq_oIKPjAJAXZE","wx_token":"uAlIZDahSOhcE5XPJA3L4nsgB_VQ0FKxTbxPpmopAZzcZXods8xdVBdFAmt3In-g","shopid":"1593619448","shop_order_id":"100022454073","shop_no":"3243279847393","waybill_id":"3472821528232705537","action_time":1655970968,"order_status":301,"action_msg":"更改期望送达时间","agent":{"name":"杜晓雨","phone":"18846195859","reach_time":1655978400},"wxa_path":"pages\/index\/index","expected_delivery_time":1655974800}
微信物流回调接口数据:
<xml><ToUserName><![CDATA[gh_cfbab4def7c1]]></ToUserName>
<FromUserName><![CDATA[oTiD25QzxtF77SOLLvcHyAGrP8ik]]></FromUserName>
<CreateTime>1655970968</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[update_waybill_status]]></Event>
<shopid><![CDATA[1593619448]]></shopid>
<shop_order_id><![CDATA[100022454073]]></shop_order_id>
<waybill_id><![CDATA[3472821528232705537]]></waybill_id>
<action_time>1655970968</action_time>
<order_status>301</order_status>
<action_msg><![CDATA[更改期望送达时间]]></action_msg>
<agent>
<name><![CDATA[杜晓雨]]></name>
<phone><![CDATA[18846195859]]></phone>
<reach_time>1655974800</reach_time>
</agent>
<shop_no><![CDATA[3243279847393]]></shop_no>
</xml>
麻烦协助排查一下物流回调接口是否有异常,谢谢!