收藏
回答

【物流助手-即时配送】下单返回错误问题?

下配送单接口 immediateDelivery.addOrder返回:

appid: wx56843d218751c331


自己正常业务构造的参数返回如上错误,构造社区提问者的请求参数同样返回错误,如下:

{
    "cargo":{
        "cargo_first_class":"美食宵夜",
        "cargo_second_class":"零食小吃",
        "goods_detail":{
            "goods":[
                {
                    "good_count":1,
                    "good_name":"水果",
                    "good_price":10,
                    "good_unit":"元"
                }
,
                {
                    "good_count":2,
                    "good_name":"蔬菜",
                    "good_price":20,
                    "good_unit":"元"
                }

            ]

        }
,
        "goods_height":1,
        "goods_length":3,
        "goods_value":5,
        "goods_weight":1,
        "goods_width":2
    }
,
    "delivery_id":"TEST",
    "delivery_sign":"a93d8d6bae9a9483c1b1d4e8670e7f6226ec94cb",
    "openid":"o-2MM5Cl3xFaG-62OnOIpyP9iGmw",
    "order_info":{
        "delivery_service_code":"",
        "expected_delivery_time":0,
        "expected_finish_time":0,
        "expected_pick_time":0,
        "is_direct_delivery":0,
        "is_finish_code_needed":1,
        "is_insured":0,
        "is_pickup_code_needed":1,
        "note":"test_note",
        "order_time":1555220757,
        "order_type":0,
        "poi_seq":"111",
        "tips":0
    }
,
    "receiver":{
        "address":"xxx地铁站",
        "address_detail":"2号楼202",
        "city":"北京市",
        "coordinate_type":0,
        "lat":40.15296,
        "lng":116.50603,
        "name":"老王",
        "phone":"18512345678"
    }
,
    "sender":{
        "address":"XX大厦",
        "address_detail":"1号楼101",
        "city":"北京市",
        "coordinate_type":0,
        "lat":40.448612,
        "lng":116.383075,
        "name":"测试",
        "phone":"13111113333"
    }
,
    "shop":{
        "goods_count":2,
        "goods_name":"宝贝",
        "img_url":"https://mmbiz.qpic.cn/mmbiz_png/xxxxxxxxx/0?wx_fmt=png",
        "wxa_path":"/page/index/index"
    }
,
    "shop_no":"12345678",
    "shop_order_id":"test_shop_order_id",
    "shopid":"test_shop_id"
}



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

1 个回答

  • raylin
    raylin
    2019-10-10

    你是调用了取消订单的接口?

    2019-10-10
    有用 1
    回复 1
    • 🇱 ⁶⁶⁶
      🇱 ⁶⁶⁶
      2019-10-10
      谢谢,确实调错了
      2019-10-10
      回复
登录 后发表内容
问题标签