收藏
回答

物流助手logistics.addOrder 47001 ?

url = https://api.weixin.qq.com/cgi-bin/express/business/order/add?access_token=

{"shop":"{\"goods_name\":\"【PKPK】复合营养棒  12支*15g/盒(无录音卡)秒杀专享\",\"img_url\":\"https://northpkpk.oss-cn-hangzhou.aliyuncs.com/images/20210528/app_162218521144196vt..png\",\"wxa_path\":\"https://www.17pkpk8.com/home\",\"goods_count\":\"1\"}","receiver":"{\"area\":\"雨花区\",\"address\":\"中意一路红星农民新村佳园星城菜鸟驿站\",\"province\":\"湖南省\",\"city\":\"长沙市\",\"name\":\"万兵\",\"mobile\":\"13612340235\"}","insured":"{\"use_insured\":\"0\",\"insured_value\":\"0\"}","openid":"o7_PW5H********8","delivery_id":"YUNDA","custom_remark":"易碎物品","access_token":"****","sender":"{\"area\":\"岳麓区\",\"address\":\"湖南省长沙市岳麓区云栖路洋湖创富中心2栋210\",\"province\":\"湖南省\",\"city\":\"长沙市\",\"name\":\"吴煕\",\"mobile\":\"13912344246\",\"company\":\"诺思兰德功能食品科技开发有限公司\"}","service":"{\"service_type\":\"0\",\"service_name\":\"标准快件\"}","add_source":"0","biz_id":"******","cargo":"{\"space_y\":\"1\",\"space_z\":\"1\",\"detail_list\":[{\"name\":\"【PKPK】复合营养棒  12支*15g/盒(无录音卡)秒杀专享\",\"count\":\"1\"}],\"count\":\"1\",\"weight\":\"0.01\",\"space_x\":\"1\"}","order_id":"O202106020004"}

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

1 个回答

  • 😶
    😶
    2021-06-03

    这个错误原因是接口参数与协议不同。一般是参数中的字段类型与协议中不一致导致。例如协议中字段需要是number但传过来的是string


    2021-06-03
    有用
    回复
登录 后发表内容