...
|
...
|
@@ -410,4 +410,78 @@ |
|
|
| 407 | 优惠券不存在 |
|
|
|
| 408 | 很抱歉!优惠券未到领取时间哦~ |
|
|
|
| 409 | 很抱歉!优惠券已经过期不可领取哦~ |
|
|
|
| 440 | 很抱歉!该优惠券已经作废,无法使用 | |
|
|
\ No newline at end of file |
|
|
| 440 | 很抱歉!该优惠券已经作废,无法使用 |
|
|
|
|
|
|
|
|
|
### 8、优惠券列表--供用户中心查询用(method=app.coupons.get)
|
|
|
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Type | Required | Param Value | Desc |
|
|
|
| :-- | --: | --: | --: | --: |
|
|
|
| method | String | true |app.coupons.get| 请求方法|
|
|
|
| uid | int | true | 7893817 |用户ID |
|
|
|
| type | String | true |use |券使用类型 use:已使用,notuse:未使用,overtime:过期|
|
|
|
| filter | int | false | 1 |优惠券过滤:0/null:无; 1:店铺券; 2:活动券; 3:免邮券 |
|
|
|
| limit | int | true | 20 |每页限制数 |
|
|
|
| page |int | true | 2 |第几页 |
|
|
|
|
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"couponList": [
|
|
|
{
|
|
|
"coupon_id": 17318,
|
|
|
"coupon_name": "111", //券名称
|
|
|
"coupon_type": "6", //券类型:1,平台券;2,B券......
|
|
|
"coupon_type_max": 100, //券分组:100,店铺券; 200,活动券; 300,免邮券
|
|
|
"coupon_validity": "2018.03.08-2018.03.31", //有效期
|
|
|
"coupon_value": 111, //券面值
|
|
|
"coupon_value_str": "¥111", //券面值中文描述
|
|
|
"is_overtime": "N", //是否过期
|
|
|
"notes": [ //使用说明
|
|
|
"限店铺:nike店铺",
|
|
|
"特例商品暂不支持使用优惠券"
|
|
|
],
|
|
|
"use_rule": "满0件可用" //使用限制
|
|
|
},
|
|
|
{
|
|
|
"coupon_id": 17196,
|
|
|
"coupon_name": "邀请新人优惠券",
|
|
|
"coupon_type": "1",
|
|
|
"coupon_type_max": 200,
|
|
|
"coupon_validity": "2018.02.01-2018.12.30",
|
|
|
"coupon_value": 30,
|
|
|
"coupon_value_str": "¥30",
|
|
|
"is_overtime": "N",
|
|
|
"notes": [
|
|
|
"全场通用",
|
|
|
"特例商品暂不支持使用优惠券",
|
|
|
"说明:邀请新人优惠券"
|
|
|
],
|
|
|
"use_rule": ""
|
|
|
},
|
|
|
{
|
|
|
"coupon_id": 17200,
|
|
|
"coupon_name": "助力活动优惠券",
|
|
|
"coupon_type": "5",
|
|
|
"coupon_type_max": 300,
|
|
|
"coupon_validity": "2018.02.07-2018.12.30",
|
|
|
"coupon_value": 100,
|
|
|
"coupon_value_str": "顺丰",
|
|
|
"is_overtime": "N",
|
|
|
"notes": [
|
|
|
"全场通用",
|
|
|
"特例商品暂不支持使用优惠券"
|
|
|
],
|
|
|
"use_rule": ""
|
|
|
}
|
|
|
],
|
|
|
"total": 10
|
|
|
},
|
|
|
"md5": "00bd2b952891997e5b25a7435d0665da",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|