收藏
回答

使用addOrder报错?


请问官方能否解答下这个是什么错误,这是在下单的时候报错?

回答关注问题邀请回答
收藏

2 个回答

  • 心语无痕
    心语无痕
    2019-08-20

    {"errcode":9300501,"errmsg":"delivery logic fail","delivery_resultcode":-1,"delivery_resultmsg":"unknown ERROR","waybill_data":[]}

    在使用addOrder接口时,生成运单.bizid参数和delivery_id为图中参数

    2019-08-20
    有用
    回复
  • 是小白啊
    是小白啊
    2019-08-08

    给下请求的json数据以及appid喝请求的时间

    2019-08-08
    有用
    回复 7
    • 心语无痕
      心语无痕
      2019-08-08
      {"add_source":"0","wx_appid":"wx10e30b213e131702","order_id":"10230000201904161735526638","openid":"o9BI75ERcyzTKqqjVIShxmaq-XOk","biz_id":"7690112954","delivery_id":"SF","sender":{"name":"\u963f\u8fbe","province":"\u5e7f\u4e1c\u7701","city":"\u6df1\u5733\u5e02","area":"\u7f57\u6e56\u533a","address":"\u4e2d\u5b89\u5927\u53a6"},"receiver":{"name":"\u5f20\u4e09","province":"\u5e7f\u4e1c\u7701","city":"\u5e7f\u5dde\u5e02","area":"\u6d77\u73e0\u533a","address":"\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02\u6d77\u73e0\u533a\u65b0\u6e2f\u4e2d\u8def397\u53f7"},"cargo":{"count":2,"weight":5.5,"space_x":30.5,"space_y":20,"space_z":20,"detail_list":[{"name":"\u7535\u5b50\u70df\u6d4b\u8bd5","count":"1"},{"name":"\u3010\u65b0\u54c1\u3011ECAP \u65b0\u6b3e\u5347\u7ea7\u97e9\u56fd\u539f\u88c5\u8fdb\u53e3","count":"2"}]},"shop":{"wxa_path":"\/pages\/user\/myorder","img_url":"http:\/\/yscloudres.51ystshop.com\/Uploads\/2018\/12\/27\/5c24447a85406.png","goods_name":"\u7535\u5b50\u70df\u6d4b\u8bd5","goods_count":"1"},"service ":{"service_type":0,"service_name":"\u6807\u51c6\u5feb\u9012"},"insured":{"use_insured":1,"insured_value":10000}}, appid:wx10e30b213e131702,
      2019-08-08
      回复
    • 心语无痕
      心语无痕
      2019-08-08
      我是数组转的json是因为转码的问题么,还有这里的wx_appid是接入物流助手的appid还是下单用户的
      2019-08-08
      回复
    • 心语无痕
      心语无痕
      2019-08-08
      不好意思刚没有转码{"add_source":"0","wx_appid":"wx10e30b213e131702","order_id":"10230000201904161735526638","openid":"o9BI75ERcyzTKqqjVIShxmaq-XOk","biz_id":"7690112954","delivery_id":"SF","sender":{"name":"大萨达撒","province":"广东省","city":"深圳市","area":"盐田区","address":"中安大厦"},"receiver":{"name":"张三","province":"广东省","city":"广州市","area":"海珠区","address":"广东省广州市海珠区新港中路397号"},"cargo":{"count":2,"weight":5.5,"space_x":30.5,"space_y":20,"space_z":20,"detail_list":[{"name":"电子烟测试","count":"1"},{"name":"【新品】ECAP 新款升级韩国原装进口","count":"2"}]},"shop":{"wxa_path":"\/pages\/user\/myorder","img_url":"http:\/\/yscloudres.51ystshop.com\/Uploads\/2018\/12\/27\/5c24447a85406.png","goods_name":"电子烟测试","goods_count":"1"},"service ":{"service_type":0,"service_name":"标准快递"},"insured":{"use_insured":1,"insured_value":10000}}这个是转码的问题依旧
      2019-08-08
      回复
    • 是小白啊
      是小白啊
      2019-08-08回复心语无痕

      没有填 service
      https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.addOrder.html

      2019-08-08
      回复
    • 心语无痕
      心语无痕
      2019-08-08回复是小白啊
      "service ":{"service_type":0,"service_name":"标准快递"},我这里不是已经填写了么,是我写的有问题么
      2019-08-08
      回复
    查看更多(2)
登录 后发表内容
问题标签