简要描述:
- 绑定订单接口
请求域名:
- http://xx.com
请求URL:
POST/plugin.xz-api.frontend.order.pay
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
order_id | 是 | int | 订单ID |
pay_type | 是 | int | 支付类型,1微信扫码支付,2支付宝扫码支付 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "支付二维码获取成功",
"data": {
"url": "https://release.yunzmall.com/storage/app/public/xz-api/97d7336cbb4a36066681b045a2290af4.png"
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
url | string | 支付二维码图片地址 |
错误时返回:
{
"result": 0,
"msg": "订单不存在",
"data": []
}