收藏
回答

物流助手生成订单提交参数返回 字段长度不正确,有些商品可以生成,有些不行

框架类型 问题类型 操作时间 AppID
小程序 Bug 2020-03-10 wx8afbadb24bd3d6e1

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.addOrder.html

{

"add_source": 2,

"wx_appid": "wx8afbadb24bd3d6e1",

"order_id": "15838257647914",

"delivery_id": "TEST",

"biz_id": "test_biz_id",

"sender": {

"name": "陈恩",

"tel": "",

"mobile": "",

"company": "",

"post_code": "",

"country": "",

"province": "江苏",

"city": "江阴",

"area": "高新技术产业开发区",

"address": "东外环路9号E座15楼"

},

"receiver": {

"name": "邢林虎",

"tel": "",

"mobile": "150******553",

"company": "",

"post_code": "",

"country": "",

"province": "江苏省",

"city": "无锡市",

"area": "江阴市",

"address": "春江华庭**幢**室"

},

"cargo": {

"count": 1,

"weight": "1",

"space_x": "1",

"space_y": "1",

"space_z": "1",

"detail_list": [{

"name": "(测试)女装 (UT) PEANUTS 70 宽松印花T恤(短袖) 426891 优衣库UNIQLO",

"count": "1"

}]

},

"insured": {

"use_insured": 0,

"insured_value": 0

},

"service": {

"service_type": 1,

"service_name": "test_service_name"

},

"expect_time": 0

}

哪个字段超出了长度可以提示一下???

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

2 个回答

  • raylin
    raylin
    2020-03-10

    这些参数都没问题,请列一下具体的请求时间和请求参数,另外

    文档里有说明:商品名,不超过128字节

    2020-03-10
    有用
    回复
  • Charb
    Charb
    2020-03-10

    商品名太长了吧,你可已设置一个别名,生成订单的时候用

    2020-03-10
    有用
    回复 2
    • 🐯
      🐯
      2020-03-10
      名字好像没超过128字节啊 - -我试试你说的方法
      2020-03-10
      回复
    • Charb
      Charb
      2020-03-10回复🐯
      嗯,短一点的话贴单子也比较好贴呢
      2020-03-10
      回复
登录 后发表内容
问题标签