简要描述:
- 获取用户的消费积分的明细记录
请求域名:
- http://xx.com
请求URL:
GET:plugin.store-cashier.frontend.store.couponGet.index
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| coupon_id | 是 | int | 优惠券id |
返回示例:
正确时返回:
{
"result":1,
"msg":"成功",
"data":[
"id": 13,
"name": "10000元代金券",
"coupon_method": 1,
"deduct": "10000.00",
"discount": "0.00",
"enough": 60000,
"received":1,
"receive_count":10,
"available_count":1
]
}
错误时返回:
{
"result": 0,
"msg": "错误信息",
"data": []
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int(10) | 优惠券id |
| name | string | 优惠券名 |
| coupon_method | int | 1立减2折扣 |
| deduct | float | 立减金额 |
| discount | float | 折扣 |
| enough | float | 限额 |
| received | int | 已领取1 未领取0 |
| receive_count | int | 已领取数 |
| available_count | int | 可领取数 |