查询停车券(分页)
- 请求方式:post
- 参数类型:application/json
- 请求地址:http://域名/coupon/park/list
- 请求参数:
| 参数 |类型 | 是否必填 | 说明 |
| --------- |-------- | ------- | ------------------|
| receiveStartTime | string |否 | 领券有效期开始时间|
| receiveEndTime | string |否 | 领券有效期结束时间|
| useStartTime | string |否 | 使用有效期开始时间|
| useEndTime | string |否 | 使用有效期结束时间|
| couponInfo | string |否 | 券信息 |
| acquireType | integer |否 | 获取方式 1:免费领取 2:购买 3:积分兑换 |
| provideType | integer |否 | 发放形式:0:用户领取 1:活动发放 2:导购发放 3:事件发放 4:礼包发放 5:印花兑换 |
| storeCodeOrName | string |否 | 门店编码/名称 |
| createBy | string |否 | 创建人 |
| status | integer |否 | 状态 1:待提交 2:待审核 3:已发布 4:进行中 5:已驳回 6 :领券已结束 7:用券已结束 8:副本 |
| processNo | string |否 | 流程单号 |
| pageNum | integer |否 | 第几页 |
| pageSize | integer |否 | 条数 |
- 返回参数
| 参数 | 类型 |必须 | 说明 |
| --------- | -------- |-------- | ------------------ |
| code | integer | 否 | 状态码 200成功 |
| message | string | 否 | 消息 |
| timestamp | long | 否 | 时间戳 |
| data | array | 否 | 数据 |
| id | integer | 否 | 券ID |
| title | string | 否 | 券名称 |
| img | string | 否 | 券图标 |
| provideType| integer | 否 | 发放形式 |
| store | Array<storeCodeDTO>| 否 | 参与门店 |
| totals | integer | 否 | 发行数量 |
| createBy | string | 否 | 创建人 |
| status | integer | 否 | 券状态 |
storeCodeDTO
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------ |
| storeCode | string | 门店编码 |
| storeName | string | 门店名称 |
- 返回样例
{
"code": 200,
"message": "查询成功!",
"timestamp": 1585218344000,
"data": [
{
"id": 2591,
"title": "名称1",
"provideType": 1,
"status": 1,
"totals": 9999,
"store": [
{
"storeCode": "008008",
"storeName": "深圳南山一号店"
}
],
"createBy": "008008|xxx"
},
{
"id": 2592,
"title": "名称2",
"provideType": 1,
"status": 1,
"totals": 9999,
"store": [
{
"storeCode": "008008",
"storeName": "深圳南山一号店"
}
],
"createBy": "008008|xxx"
}
],
"totalPages": 3,
"totalElements": 20,
"pageNumber": 2,
"numberOfElements": 7
}