查询商户券(分页)
- 请求方式:post
- 参数类型:application/json
- 请求地址:http://域名/coupon/merchant/list
- 请求参数:
| 参数 |类型 | 是否必填 | 说明 |
| --------- |-------- | ------- | ------------------|
| recExpirationBeginDate | string |否 | 领券有效期开始时间|
| recExpirationEndDate | string |否 | 领券有效期结束时间|
| useExpirationBeginDate | string |否 | 使用有效期开始时间|
| useExpirationEndDate | string |否 | 使用有效期结束时间|
| storeNoOrName | string |否 | 门店编码/名称 |
| merchantNoOrName | string |否 | 商户编码/名称 |
| couponId | integer |否 | 券ID |
| couponName | string |否 | 券名称 |
| couponType | integer |否 | 优惠券类型 |
| provideType | integer |否 | 发放形式 |
| getType | integer |否 | 获取形式 |
| couponId | integer |否 | 券ID |
| createBy | string |否 | 创建人 |
| processNo | string |否 | 流程单号 |
| couponStatus | integer |否 | 券状态(是否审核领取使用等) |
| pageNum | integer |否 | 第几页 |
| pageSize | integer |否 | 条数 |
- 返回参数
| 参数 | 类型 |必须 | 说明 |
| --------- | -------- |-------- | ------------------ |
| code | integer | 是 | 状态码 200成功 |
| message | string | 是 | 消息 |
| timestamp | long | 是 | 时间戳 |
| data | array | 是 | 数据 |
| couponId | integer | 是 | 券ID |
| couponName | string | 是 | 券名称 |
| couponType | integer | 是 | 优惠券类型 |
| provideType| integer | 是 | 发放形式 |
| createBy | string | 是 | 创建人 |
| couponStatus| integer | 是 | 券状态(是否审核领取等|
....
- 返回样例
{
"code": 200,
"message": "查询成功!",
"timestamp": 1585218344000,
"data": [
{
"couponId": 2591,
"couponName": "名称1",
"couponType": 1,
"provideType": 1,
"couponStatus": 1,
"num": 9999,
"storeNoOrName": "深圳市东湖店"
},
{
"couponId": 2591,
"couponName": "名称2",
"couponType": 1,
"provideType": 1,
"couponStatus": 1,
"num": 9999,
"storeNoOrName": "深圳市东湖店"
}
],
"totalPages": 3,
"totalElements": 20,
"pageNumber": 2,
"numberOfElements": 7
}