调用logistics.addOrder,返回的结果waybill_data为空数组?
发布于 4 年前 作者 llei 11536 次浏览 来自 官方Issues
https://api.weixin.qq.com/cgi-bin/express/business/order/add?access_token=ACCESS_TOKEN

$data = array(

          “add_source”=>0,

          “order_id”=>“2021040612210001”,

          “openid”=>“ovii25Bg59mCrd_-qGOScpLFfTzI”,

          “delivery_id”=>“EMS”,

          “biz_id”=>“1100044278973”,

          “custom_remark”=>“测试物品”,

          “sender”=>array(

              “name”=>“张三”,

              “mobile”=>“17712345678”,

              “province”=>“新疆维吾尔自治区”,

              “city”=>“乌鲁木齐市”,

              “area”=>“沙依巴克区”,

              “address”=>“伊宁路04号”

          ),

          “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”=>“快递包裹”

          )

        );

返回结果:waybill_data:[],正常吗?

回到顶部