+++
post:app/index.php?i=1&c=entry&ctrl=plateform&ac=order&op=takeout&ta=status&do=api&m=we7_wmall
*token=IBB844RyBXqssxeQrTEbMY4BCr7r8Yb4#身份密钥
*id=100#订单id
*type=handle#(可选值:handle:接单;notify_clerk_handle:通知商户接单;notify_deliveryer_collect:通知配送员抢单;re_notify_deliveryer_collect:将订单重新放入待抢订单列;end:完成订单;cancel:取消订单;refund_handle:发起退款;refund_status:设为已退款;refund_query:查询退款进度)处理订单状态类型
*reason=商品已经售完#取消订单原因,当type=cancel时需要传入reason
<<<
success
{
"message": {
"resultCode": 0,
"resultMessage": "",//操作成功提示语
"data": {
"resultCode" => ''
}
},
"redirect": "",
"type": "ajax"
}
<<<
error
{
"message": {
"resultCode": -1,
"resultMessage": "",//操作失败提示语
"data": {
"resultCode" => ''
}
}
}
+++