收藏
回答

小程序物流助手api在下单,快递公司是顺丰,参数 biz_id 使用顺丰给的月结号,提示错误?

post数据

{"add_source":0,"order_id":"wx2019111209560910002","openid":"o_u5Z5JUeKgmP-ZSU-D9_D8WlM-o","delivery_id":"SF","biz_id":"7711020000","custom_remark":"",

"sender":{"name":"石忠福","tel":"13977188888","mobile":"13977188888","company":"南宁市泉美网络科技有限公司","post_code":"530000","country":"中国","province":"广西","city":"南宁","area":"青秀区","address":"天桃路55号4栋1单元03号"},

"receiver":{"name":"张三","tel":"","mobile":"020-81167888","company":"","post_code":"","country":"中国","province":"广东省","city":"广州市","area":"海珠区","address":"新港中路397号"},

"shop":{"wxa_path":"/index/index","img_url":"http://www.quanmei.mobi/uploads/attach/2019/10/27/s_5db54c1983641.jpg","goods_name":"【华为畅享10Plus】全网通双4G手机","goods_count":1},

"cargo":{"count":1,"weight":1,"space_x":1,"space_y":1,"space_z":1,"detail_list":[{"name":"【华为畅享10Plus】全网通双4G手机","count":1}]},

"insured":{"use_insured":0,"insured_value":0},

"service":{"service_type":0,"service_name":"标准快递"},"expect_time":0}


错误如下

{"errcode":9300501,"errmsg":"delivery logic fail","delivery_resultcode":10001,"delivery_resultmsg":"bizId check error","waybill_data":[]}

同样的其它参数 把biz_id 由 月结号改为现结 SF_CASH 是可以正常生成快递面单,返回结果如下:

{"order_id":"wx2019111209560910001","waybill_id":"SF6026019099796","waybill_data":[{"key":"abFlag","value":"A1"},{"key":"cargoName","value":"【华为畅享10Plus】全网通双4G手机"},{"key":"codeMapping","value":"S13"},{"key":"codingMappingOut","value":""},{"key":"destEncodePhone","value":"020****7888"},{"key":"destRouteLabel","value":"020W-020AI"},{"key":"destTeamCode","value":"021"},{"key":"destcode","value":"020"},{"key":"filter_result","value":"2"},{"key":"limitTypeCode","value":"T4"},{"key":"origincode","value":"771"},{"key":"printFlag","value":"111101111"},{"key":"printIcon","value":"0-0-0-0-0-0-0-0"},{"key":"sourceTransferCode","value":""},{"key":"twoDimensionCode","value":"MMM={'k1':'020W','k2':'020AI','k3':'021','k4':'T4','k5':'SF6026019099796','k6':'A1','k7':'87af38fd'}"},{"key":"xbFlag","value":"0"}]}

有知道是什么原因的大神吗 ? 求指教


最后一次编辑于  11-12
回答关注问题邀请回答
收藏
问题标签