收藏
回答

9300501. 物流助手申通下单失败

框架类型 问题类型 终端类型 AppID 环境ID 基础库版本
小程序 Bug 微信iOS客户端 wx7ff6b2f21b58ce10 drparty-3g1ip4ga6f18c8ff 2.14.1
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.addOrder.html


我收到交付逻辑失败,但没有错误消息显示问题所在。当我使用 test add order 时它可以工作,但是当我切换到 SF 并且我的 bizid 时它不起作用


const result = await cloud.openapi.logistics.addOrder({

"openid": orderData._openid,

"sender": {

"name": 'Wang',

"company": 'Dr.Party',

"country": '中国',

"province": '上海市',

"city": '上海市',

"area": '静安区',

"address": '上海市静安区吴江路188号静安新时代大厦17层1701室',

"postCode": '200041'

},

"receiver": {

"name": orderData.name,

"mobile": orderData.mobile,

"country": '中国',

"province": orderData.province_name,

"city": orderData.city_name,

"area": orderData.district_name,

"address": orderData.address,

"postCode": orderData.postalCode

},

"shop": {

"wxaPath": 'uCenter/fufillment/index?from=waybill&id=01234567890123456789',

"imgUrl": 'https://6472-drparty-3g1ip4ga6f18c8ff-1306335328.tcb.qcloud.la/images/product.png',

"goodsName": 'Dr.Party Hangover Control Supplements',

"goodsCount": orderData.quantity

},

"cargo": {

"count": newOrderList.length,

"weight": weight,

"spaceX": spaceX,

"spaceY": spaceY,

"spaceZ": spaceZ,

"detailList": newOrderList

},

"insured": {

"useInsured": 0,

"insuredValue": 0

},

"service": {

"serviceType": 0,//0

"serviceName": '标准快递'//标准快递 //test_service_name

},

"addSource": 0,

"orderId": orderData.order_sn,

"deliveryId": 'SF',//TEST //SF

"bizId": '0210512994',//test_biz_id //0210512994

"customRemark": '易碎物品'

})


最后一次编辑于  2021-09-09
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容