用户领取的优惠券记录
## 用户领取的优惠券记录
### 接口说明
```
接口用途:用户领取的优惠券记录
请求地址:充值站/api/data/
请求方式:Get 或 Post
```
### 请求参数
| 名称| 参数 | 类型 | 默认值 | 示例 |说明 |是否必填
| -------| ------- | ------------ | -------- | -------- | -------- |-
| 请求类型 | type | string |receive.game.discount.record.user|receive.game.discount.record.user| 固定值|是
| 用户编号 | uid | int | | 1000|信游平台用户标识 |是
| 用户账号 | uname |string | | xykj888|信游平台用户账号 |是
| 使用状态 | isuse |string | | |传空代表全部 0未使用 1 已使用 |是
| 页数 | page | int | | 1| 页码 默认1 |是
| 条数 | size | int | | 20| 条数 默认20 |是
| 时间戳 | time | long | |1595915905 |时间戳 10位 |是
| 签名 |sign| string | | d7413a3a6778876db59e7e9212fc9eab |见下方签名规则 |是
### 签名规则
```
sign = md5(time#type)
示例 签名前 1595915905#receive.game.discount.record.user 签名后 d7413a3a6778876db59e7e9212fc9eab
```
### 请求响应
```json
{
"code": 1,
"msg": "",
"data": {
"data": [{
"discode_usetime": "2020-07-28 13:37:43",
"discode_receivetime": "2020-07-29 14:44:54", //领取时间
"discode_code": "C9794A0484F0662A", //卡号
"discount_state": 0, //使用状态
"discode_uid": 0, //使用用户编号
"discount_receive_uid": 10000, //领取用户编号
"discode_uname": "", //使用用户
"discount_receive_uname": "xykj888" //领取用户
"xy_discode_money":100,//优惠金额
"xy_discode_blv":100,//折扣比例
"xy_discode_type":0,//0代金券 1折扣券
"xy_discode_expritime":"xxxx",//有效期
"xy_discode_vip":1,//vip等级
"xy_canuse_money":100,//满足金额
"xy_discode_name":"xxx",//名称
}],
"total": 3
}
}
```