收藏
回答

【物流助手】调用addOrder 中通快递,提示网络开小差?


$sender           = [
   "name"     => "吴名",
   // "tel"       => "0371-86552563",
   "mobile"   => "18x9582089x",
   // "company"   => "黄金大路有限公司",
   // "post_code" => "450009",
   // "country"   => "中国",
   "province" => "河南省",
   "city"     => "郑州市",
   "area"     => "新东新区",
   "address"  => "金水东路88号1栋1502",
];
$receiver         = [
   "name"     => "王小蒙",
   // "tel"       => "0371-86551122",
   "mobile"   => "18x1718337x",
   // "company"   => "愉悦有乐科技公司",
   // "post_code" => "450005",
   // "country"   => "中国",
   "province" => "河南省",
   "city"     => "郑州市",
   "area"     => "管城回族区",
   "address"  => "金城街蓝海港湾玉兰湾2栋",
];
$shop             = [
   "wxa_path"    => "pages/order/detail?from=waybill&order_id=2020013050561015",
   "img_url"     => "https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
   "goods_name"  => "微信气泡狗抱枕&微信气泡狗钥匙扣",
   "goods_count" => 2,
];
$cargo            = [
   "count"       => 1,
   "weight"      => 5.5,
   "space_x"     => 30.5,
   "space_y"     => 20,
   "space_z"     => 20,
   "detail_list" => [
      [
         "name"  => "微信气泡狗抱枕",
         "count" => 1,
      ],
      [
         "name"  => "微信气泡狗钥匙扣",
         "count" => 1,
      ],
   ],
];
$order_id         = date("YmdHis") . rand(111, 999);
$addOrderData     = [
   "add_source"    => 0,
   "order_id"      => $order_id,
   "openid"        => "oxN_y5NoFwhy-Qq19OV8zVrS48cg",
   "delivery_id"   => "ZTO",
   "biz_id"        => "ZTO761571819135658",
   "custom_remark" => "易碎物品",
   "sender"        => $sender,
   "receiver"      => $receiver,
   "shop"          => $shop,
   "cargo"         => $cargo,
   "insured"       => [
      "use_insured"   => 1,
      "insured_value" => 10000,
   ],
   "service"       => [
      "service_type" => 0,
      "service_name" => "标准快递",
   ],
];
$addOrderDataJson = json_encode($addOrderData);


返回信息是:
Array
(
    [errcode] => 9300501
    [errmsg] => delivery logic fail
    [delivery_resultcode] => 10003
    [delivery_resultmsg] => 网络开小差
    [waybill_data] => Array
        (
        )


)
最后一次编辑于  2020-02-03
回答关注问题邀请回答
收藏

3 个回答

  • raylin
    raylin
    2020-02-07

    网络开小差,重试能成功吗?

    2020-02-07
    有用
    回复 1
    • 白开水
      白开水
      2020-02-07
      一直在重试,好几天了
      2020-02-07
      回复
  • 钱佳
    钱佳
    2020-02-03

    手机号码 姓名 就这么贴出来。。。

    2020-02-03
    有用
    回复 1
    • 白开水
      白开水
      2020-02-03
      感谢提醒,已经改动了
      2020-02-03
      回复
  • 灵芝
    灵芝
    2020-02-03

    你好,网络是正常的么?

    2020-02-03
    有用
    回复 7
    • 白开水
      白开水
      2020-02-03
      是正常的,不然我怎以可以发信息!
      2020-02-03
      回复
    • 白开水
      白开水
      2020-02-03
      在线等,感谢!
      2020-02-03
      回复
    • 灵芝
      灵芝
      2020-02-03回复白开水
      小程序appid、操作时间提供一下看看
      2020-02-03
      回复
    • 白开水
      白开水
      2020-02-03回复灵芝
      wxc814ec19c518b8e9
      时间就在刚刚和1个小时内都操作过,都是提示的这个信息
      2020-02-03
      回复
    • Mr.Lee
      Mr.Lee
      2020-02-08
      同样的问题,期待得到您的回复。
      2020-02-08
      回复
    查看更多(2)
登录 后发表内容
问题标签