小程序
小游戏
企业微信
微信支付
扫描小程序码分享
【物流助手】调用logistics.addOrder,返回的waybill_data为[],其他正常,
用的是邮政快递包裹,参数如下
"delivery_id"=>"EMS"
"service"=>array(
"service_type"=>9,
"service_name"=>"快递包裹"
),
返回的运单号是114开头的,为什么不是9开头的?
调用getOrder获取运单数据时,waybill_data为空数组,这不对啊?哪里出问题了?
请官网专员帮忙看看,这什么时候给个回复?
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
$data = array(
"add_source"=>0,
"order_id"=>"2021040612210001",
"openid"=>"oR6lt5HVvsuYWa3OjMAf-YXOBwjI",
"delivery_id"=>"EMS",
"biz_id"=>"1100000891550",
"custom_remark"=>"测试物品",
"sender"=>array(
"name"=>"张三",
"mobile"=>"17712345678",
"province"=>"新疆维吾尔自治区",
"city"=>"乌鲁木齐市",
"area"=>"沙依巴克区",
"address"=>"伊宁路388号C栋二层2C-104号"
),
"receiver"=>array(
"name"=>"李四",
"mobile"=>"18912345678",
"area"=>"水磨沟区",
"address"=>"测试路8号"
"shop"=>array(
"wxa_path"=>"/index/index",
"img_url"=>"https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
"goods_name"=>"微信气泡狗抱枕&微信气泡狗钥匙扣",
"goods_count"=>2
"cargo"=>array(
"count"=>2,
"weight"=>0.64,
"space_x"=>20.5,
"space_y"=>20,
"space_z"=>20,
"detail_list"=>array(
array("name"=>"微信气泡狗抱枕","count"=>1),
array("name"=>"微信气泡狗钥匙扣","count"=>1)
)
"insured"=>array(
"use_insured"=>0,
"insured_value"=>0
);
请求结果:
errcode: 0
errmsg: "ok"
order_id: "2021040612210001"
waybill_data: []
waybill_id: "1149139234027"
用getOrder请求:
参数如下:
array(
"waybill_id"=>"1149139234027"
返回的结果:
没有返回的rid啊,还是我哪里写错了?
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
$data = array(
"add_source"=>0,
"order_id"=>"2021040612210001",
"openid"=>"oR6lt5HVvsuYWa3OjMAf-YXOBwjI",
"delivery_id"=>"EMS",
"biz_id"=>"1100000891550",
"custom_remark"=>"测试物品",
"sender"=>array(
"name"=>"张三",
"mobile"=>"17712345678",
"province"=>"新疆维吾尔自治区",
"city"=>"乌鲁木齐市",
"area"=>"沙依巴克区",
"address"=>"伊宁路388号C栋二层2C-104号"
),
"receiver"=>array(
"name"=>"李四",
"mobile"=>"18912345678",
"province"=>"新疆维吾尔自治区",
"city"=>"乌鲁木齐市",
"area"=>"水磨沟区",
"address"=>"测试路8号"
),
"shop"=>array(
"wxa_path"=>"/index/index",
"img_url"=>"https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
"goods_name"=>"微信气泡狗抱枕&微信气泡狗钥匙扣",
"goods_count"=>2
),
"cargo"=>array(
"count"=>2,
"weight"=>0.64,
"space_x"=>20.5,
"space_y"=>20,
"space_z"=>20,
"detail_list"=>array(
array("name"=>"微信气泡狗抱枕","count"=>1),
array("name"=>"微信气泡狗钥匙扣","count"=>1)
)
),
"insured"=>array(
"use_insured"=>0,
"insured_value"=>0
),
"service"=>array(
"service_type"=>9,
"service_name"=>"快递包裹"
)
);
请求结果:
errcode: 0
errmsg: "ok"
order_id: "2021040612210001"
waybill_data: []
waybill_id: "1149139234027"
用getOrder请求:
参数如下:
array(
"order_id"=>"2021040612210001",
"openid"=>"oR6lt5HVvsuYWa3OjMAf-YXOBwjI",
"delivery_id"=>"EMS",
"waybill_id"=>"1149139234027"
);
返回的结果:
没有返回的rid啊,还是我哪里写错了?