收藏
回答

物流查询组件商品丢失。创建了5个商品的物流,查询结果只有2个。

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 微信快递服务-查询组件 工具 最新 最新

https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/express_search.html

创建物流的时候传入的是5个商品,返回的结果只有2个。

【服务通知】里也是5个商品,接口调用查询结果也是2个,物流组件查看物流也是2个。

创建查询waybill_token
2023-11-03 14:58:33.761  INFO 11460 --- [io-10201-exec-3] c.x.c.m.b.s.i.MinappLogisticsServiceImpl : 请求微信物流入参url:https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/trace_waybill
2023-11-03 14:58:33.761  INFO 11460 --- [io-10201-exec-3] c.x.c.m.b.s.i.MinappLogisticsServiceImpl : 请求微信物流入参data:{"delivery_id":"ZTO","goods_info":{"detail_list":[{"goods_img_url":"https://orveda-oss.coty-cn-crm.com/d9854203cfe14ea59f4ad1a28387cda7-6-奥薇达焕净透澈眼睫卸妆精华液.png","goods_name":"奥薇达焕净透澈眼睫卸妆精华液"},{"goods_img_url":"https://sephora-web.theatomdata.com/image/1_1694240055470_12855819.png","goods_name":"奥薇达活颜紧致面霜(促销品)15M"},{"goods_img_url":"https://sephora-web.theatomdata.com/image/1_1694240055470_12855819.png","goods_name":"奥薇达活颜紧致面霜(促销品)15M"},{"goods_img_url":"https://sephora-web.theatomdata.com/image/1_1694226641694_583970663.png","goods_name":"奥薇达翠竹生酵焕净洁颜水(促销品)"},{"goods_img_url":"https://sephora-web.theatomdata.com/image/1_1694431412593_18389229.png","goods_name":"奥薇达多元效能浓缩精华露"}]},"openid":"osu1V5M5is5B3T5AbCzv3zR3PmZY","order_detail_path":"/pages/afterSaleDetail/afterSaleDetail?id=1571","receiver_phone":"13955452214","sender_phone":"020-81167888","waybill_id":"73506362245256"}
2023-11-03 14:58:34.792  INFO 11460 --- [io-10201-exec-3] c.x.c.m.b.s.i.MinappLogisticsServiceImpl : 请求微信物流出参resp:{"errcode":0,"errmsg":"ok","waybill_token":"BeFzNlYPiOXhxFna1kH71N*******bVtI03nVaFiiVxRef9DwvSsvtR"}

根据waybill_token查询数据
2023-11-03 14:59:12.043  INFO 11460 --- [io-10201-exec-4] c.x.c.m.b.s.i.MinappLogisticsServiceImpl : 请求微信物流入参url:https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/query_trace
2023-11-03 14:59:12.043  INFO 11460 --- [io-10201-exec-4] c.x.c.m.b.s.i.MinappLogisticsServiceImpl : 请求微信物流入参data:{ "waybill_token": "BeFzNlYPiOXhxFna1kH71N*******bVtI03nVaFiiVxRef9DwvSsvtR"}
2023-11-03 14:59:12.290  INFO 11460 --- [io-10201-exec-4] c.x.c.m.b.s.i.MinappLogisticsServiceImpl : 请求微信物流出参resp:{"errcode":0,"errmsg":"ok","waybill_info":{"status":4,"waybill_id":"73506362245256"},"shop_info":{"goods_info":{"detail_list":[{"goods_name":"奥薇达多元效能浓缩精华露","goods_img_url":"https:\/\/sephora-web.theatomdata.com\/image\/1_1694431412593_18389229.png"},{"goods_name":"奥薇达多元效能浓缩精华露","goods_img_url":"https:\/\/sephora-web.theatomdata.com\/image\/1_1694431412593_18389229.png"}]}},"delivery_info":{"delivery_id":"ZTO","delivery_name":"中通快递"}}
回答关注问题邀请回答
收藏

1 个回答

  • 视频号小店技术专员-hengrui
    视频号小店技术专员-hengrui
    2023-11-08

    你这个waybillid最早是在8月份的时候创建了一次查询,当时传入的是两个商品

    2023-11-08
    有用
    回复
登录 后发表内容