查询券包(分页)
- 请求方式:post
- 参数类型:application/json
- 请求地址:http://域名/coupon/package/list
- 请求参数:
| 参数 |类型 | 是否必填 | 说明 |
| --------- |-------- | ------- | ------------------|
| recExpirationBeginDate | string |否 | 领券有效期开始时间|
| recExpirationEndDate | string |否 | 领券有效期结束时间|
| storeNoOrName | string |否 | 门店编码/名称 |
| couponId | integer |否 | 券包ID |
| couponName | string |否 | 券包名称 |
| couponType | integer |否 | 券包类型 |
| couponStatus | integer | 是 | 券状态 |
| pageNum | integer |否 | 第几页 |
| pageSize | integer |否 | 条数 |
- 返回参数
| 参数 | 类型 |必须 | 说明 |
| --------- | -------- |-------- | ------------------ |
| code | integer | 是 | 状态码 200成功 |
| message | string | 是 | 消息 |
| timestamp | long | 是 | 时间戳 |
| data | array | 是 | 数据 |
| couponId | integer | 是 | 券包ID |
| couponName | string | 是 | 券包名称 |
| couponType | integer | 是 | 券包类型 |
| img | string | 是 | 券包图标 |
| getExpirationDate| string | 是 | 领取有效期 |
| storeNoOrName | string |否 | 门店编码/名称 |
| createBy | string | 是 | 创建人 |
| couponStatus| integer | 是 | 券状态|
- 返回样例
{
"code": 200,
"message": "查询成功!",
"timestamp": 1585218344000,
"data": [
{
"couponId": 2591,
"couponName": "名称1",
"couponType": 1,
"img": "xxxx",
"couponStatus": 1,
"getExpirationDate": "2019-06-01 00:00:00至2019-06-30 23:59:59",
"storeNoOrName": "深圳市东湖店"
},
{
"couponId": 2592,
"couponName": "名称1",
"couponType": 1,
"img": "xxxx",
"couponStatus": 1,
"getExpirationDate": "2019-06-01 00:00:00至2019-06-30 23:59:59",
"storeNoOrName": "深圳市东湖店"
}
],
"totalPages": 3,
"totalElements": 20,
"pageNumber": 2,
"numberOfElements": 7
}