appid:wx0204ae77355279ee
即时配送接口,调用正常下单接口后,想要调用realMockUpdateOrder模拟更新,按照文档给出的参数进行请求,微信返回930561参数错误?麻烦帮忙查一下感谢!
- 使用的是https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-business/immediateDelivery.realMockUpdateOrder.html 这个文档中给出的顺丰同城测试号,
- 如下:shopid: 1534713176
- appsecret: d80400f91e156f63b38886e616d84590
- shopno: 3243279847393
请求包:
data {
shopid: '1534713176',
shop_order_id: 'NC16355158526160004316829057',
shop_no: '3243279847393',
action_time: 1635516114,
order_status: 202,
action_msg: '骑手已分配',
delivery_sign: '10ef77787180af027e81afad6fd1107f8646f643'
}
回包:
data {
errcode: 930561,
errmsg: 'args error rid: 617bff2c-372236e4-6e08470d'
}
shop_no字段不需要传哈
data {
shopid: "1534713176"
shop_order_id: "NC16357600982060004318051185"
action_time: 1635760117,
order_status: 102,
action_msg: "骑手已配送完成"
delivery_sign:"ae82dfc50e9487a77765c5a69a0773dd953bb1d6"
}
回包:
data {
errcode: 930561,
errmsg: "args error rid: 617fb855-7126d4be-1026c8ba"
}
sgQKZALzLMDDOvQMhCgaabLt82CW23yTj6el5T39jYyeLHZoRQbbTVU89LOwztsDZyL108vg-I0X3pPLwrxyjHNrFXAMHuJaKxJVjwtHrh
UCavafgRfa7pJbbSIxJUllz3dGECjmpgTzRlrZNGiAIAESL这个地址诶,为了再确认我刚刚又调了一遍,整个请求部分内容我放在下一个评论里了
这个是最新的一次整个调用的对象显示
result {
status: 200,
statusText: 'OK',
headers: {
connection: 'close',
'content-type': 'text/plain',
date: 'Tue, 02 Nov 2021 12:59:23 GMT',
'content-length': '72'
},
config: {
url: 'https://api.weixin.qq.com/cgi-bin/express/local/business/realmock_update_order?access_token=50_o
sgQKZALzLMDDOvQMhCgaabLt82CW23yTj6el5T39jYyeLHZoRQbbTVU89LOwztsDZyL108vg-I0X3pPLwrxyjHNrFXAMHuJaKxJVjwtHrh
UCavafgRfa7pJbbSIxJUllz3dGECjmpgTzRlrZNGiAIAESL',
method: 'post',
data: '{"shopid":"1534713176","shop_order_id":"NC16358315063430004314151882","action_time":1635857864,
"order_status":102,"action_msg":"骑手已配送完成","delivery_sign":"ea109e1ed2b3b9e72c601266296618094221337c
"}',
}
回包数据为:
data {
errcode: 930561,
errmsg: 'args error rid: 6181362b-37a64162-58c91e94'
}