简要描述:
- pc端/app端 会员押金充值接口
请求action:
plugin.lease.Frontend.Modules.Deposit.Controllers.recharge.supply
确认支付请求action:
plugin.lease.Frontend.Modules.Deposit.Controllers.recharge.pay
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
payment | 是 | int | 支付方式 1微信支付,2支付宝支付,3余额支付 |
money | 是 | 充值金额 | |
member_id | 可选 | int | 会员ID |
正确时返回:
{
"result": 1,
"msg": "充值成功",
"data": {
"payment": "2",
"order_sn": "RG20170614135230442444"
}
}
错误时返回:
{
"result": 0,
"msg":"错误提示",
"data":{}
}
返回参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
payment | 是 | int | 支付方式 1微信支付,2支付宝支付,3余额支付 |
order_sn | 是 | 充值订单号 |
备注:
- 开发地址:http://restructure.mamp.com/addons/yun_shop/api.php?i=2&route=plugin.lease.Frontend.Modules.Deposit.Controllers.recharge.pay&test_uid=209&money=123&payment=2