【即时配送】一直返回data format error,到底格式哪里错了?用官方的示例也是返回错误
发布于 5 年前 作者 leicui 7487 次浏览 来自 官方Issues

请求数据

{
    "shopid":"test_shop_id",
    "shop_order_id":"220318141310147836",
    "shop_no":"12345678",
    "openid":"olfgQ5d_s-8HxvM4Ntz-ReqO8bLs",
    "delivery_id":"TEST",
    "delivery_sign":"76f8c741f08782704566b583b4cd74e67a07c7bb",
    "sender":{
        "name":"点大商城",
        "city":"临沂市",
        "address":"临沂市齐鲁园广场",
        "address_detail":"301",
        "phone":"1234567",
        "lng":"118.356432",
        "lat":"35.112923",
        "coordinate_type":0
    },
    "receiver":{
        "name":"黄",
        "city":"临沂市",
        "address":"测试",
        "address_detail":"301",
        "phone":"1234567",
        "lng":"118.355072",
        "lat":"35.112171",
        "coordinate_type":0
    },
    "cargo":{
        "goods_value":43.91,
        "goods_weight":1,
        "cargo_first_class":"电商",
        "cargo_second_class":"线上商城"
    },
    "order_info":{
        "note":"123",
        "order_time":1647584001
    },
    "shop":{
        "wxa_path":"\/pages\/my\/usercenter",
        "img_url":"https:\/\/xxx.cn\/upload\/202006\/17_0327412438.jpg",
        "goods_name":"HP 惠普原装M100 USB有线鼠标 笔记本台式电脑家用办公游戏USB光电鼠标 黑色",
        "goods_count":1
    }
}

返回

 array:2 [
  "errcode" => 47001
  "errmsg" => "data format error rid: 62343893-1aab0149-1061efca"
]
1 回复
回到顶部