收藏
回答

小程序物流助手,下单接口参数不为空,为什么回提示如下响应内容?

url:https://api.weixin.qq.com/cgi-bin/express/business/order/add?access_token=70_j2078-CdgEBl3Za_g7RCv66Iw-dbxoQGthiRkr-WAqZXYIH9UwjYBxUFIs_kDblKzDit5tOuKnf1aWpD9avoViEOVhilvvjZ7L1irV4QRf3XwsJli6VnKVYYfDUEPUeADAVGL, headers:null, params:{

   "wx_appid": "wxd347f13cbeaea5fd",

   "shop": {

      "detail_list": [{

         "goods_img_url": "https://rszl.mno.jrak.cn/gas_ftp/upload/image/20230515/1kv5v3ibjcjd0pgvj1e2mdj6hj.png",

         "goods_name": "Qmall_U1",

         "goods_count": "1"

      }],

      "wxa_path": "/index/index?from=waybill&id=01234567890123456789"

   },

   "receiver": {

      "area": "田家庵区",

      "country": "中国",

      "address": "金昌家",

      "province": "安徽省",

      "city": "淮南市",

      "post_code": "654321",

      "name": "施洋青",

      "mobile": "173123445678",

      "tel": "020-77777777",

      "company": "金睿澳科物联网科技(合肥)有限公司"

   },

   "insured": {

      "use_insured": 0,

      "insured_value": 0

   },

   "openid": "JDL",

   "delivery_id": "JDL",

   "custom_remark": "沙盒测试",

   "expect_time": 1689922729,

   "take_mode": 1,

   "sender": {

      "area": "蜀山区",

      "country": "中国",

      "address": "智能装备园",

      "province": "安徽省",

      "city": "合肥市",

      "post_code": "654321",

      "name": "李先生",

      "mobile": "17333095086",

      "tel": "020-77777777",

      "company": "金睿澳科物联网科技(合肥)有限公司"

   },

   "service": {

      "service_type": 0,

      "service_name": "特惠送"

   },

   "biz_id": "021K2711866",

   "add_source": 2,

   "cargo": {

      "space_y": 15.0,

      "space_z": 15.0,

      "count": 1,

      "weight": 1.2,

      "space_x": 20.0

   },

   "order_id": "TEST2023072000001"

}, resp:{"errcode":9300501,"errmsg":"delivery logic fail rid: 64b8f433-7ea9ced5-168856f8","delivery_resultcode":-1,"delivery_resultmsg":"托寄物描述(goodsName)为空","waybill_data":[]}

响应的内容,是什么情况,明明不是空耶

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

1 个回答

  • 视频号小店技术专员-hengrui
    视频号小店技术专员-hengrui
    2023-07-20

    你好,文档里面 可能漏了一些细节在cargo字段里面需要添加detail_list譬如

      "cargo": {
          "space_y": 15.0,
          "space_z": 15.0,
          "count": 1,
          "weight": 1.2,
          "space_x": 20.0
           "detail_list":[
    {"name":"Qmall_U1", "count"1}]
         }
    
    2023-07-20
    有用
    回复 4
登录 后发表内容