分类查询优惠券(分页)

- 请求方式:post - 参数类型:application/json - 请求地址:http://域名/coupon/type/list - 请求参数: | 参数 |类型 | 是否必填 | 说明 | | -------- |-------- | ------- | ------------------| | couponId | integer | 否 | 券ID | | couponName | string | 否 | 券名称 | | couponType | integer | 否 | 优惠券类型 | | discountType | integer | 否 | 优惠类型 | | availableStore | array | 否 | 可用门店 | | pageNum | integer | 否 | 第几页 | | pageSize | integer | 否 | 条数 | - 返回参数 | 参数 | 类型 |必须 | 说明 | | --------- | -------- |-------- | ------------------ | | code | integer | 是 | 状态码 200成功 | | message | string | 是 | 消息 | | timestamp | long | 是 | 时间戳 | | data | array | 是 | 数据 | | couponName | string | 是 | 券名称 | | couponType | integer | 是 | 优惠券类型 | | discountType | integer | 是 | 优惠类型 | | availableStore | array | 是 | 可用门店 | | remainingAmount | integer | 是 | 剩余数量 | | exparationDate | string | 是 | 有效期 | - 返回样例 { "code": 200, "message": "查询成功!", "timestamp": 1585218344000, "data": [ { "couponName": "qwee", "couponType": "名称1", "discountType ": "ss", "availableStore": "x", "remainingAmount": 6666, "exparationDate": "2019-04-03 -- 2019-04-06" "storeNoOrName": "深圳市东湖店" }, { "couponName": "qwee", "couponType": "名称1", "discountType ": "ss", "availableStore": "x", "remainingAmount": 6666, "exparationDate": "2019-04-03 -- 2019-04-06" "storeNoOrName": "深圳市东湖店" } ], "totalPages": 3, "totalElements": 20, "pageNumber": 2, "numberOfElements": 7 }