>[danger] 僅訂單狀態為0時才需要進行支付
~~~[api]
post:/app/index.php?i=1&c=entry&m=ewei_shopv2&do=mobile&r=machine.pay.status
*int:id#訂單ID
<<<
success
{
"status": 1,
"result": {
"msg": "查詢成功",
"status": 0,
"create_time":"2019-12-03 16:04:50",
"url": "https:\/\/gat.xtow.net\/.\/"
}
}
<<<
error
{
"status": 0,
"result": {
"message": "訂單不存在"
}
}
~~~
> 訂單ID用于獲取支付二維碼時使用
| 字段 | 描述 |
| --- | --- |
| status | 訂單狀態:-1=已關閉,0=未付款,1=待發貨,3=已完成 |
| create_time | 訂單創建時間 |