Authored by YOHO01\zhong.wu

个性化券接口

... ... @@ -290,3 +290,114 @@
| 201 | 用户生日信息不存在 |
| 411 | 您没有可领取的生日券哦 |
| 410 | 您还不是VIP哦~升级VIP享专属生日券! |
### 6、查询用户个性化券(app.promotion.queryPersonalityCoupons)
#### 请求参数
| Param Name | Param Type | Required | Param Value | Desc |
| :-- | --: | --: | --: | --: |
| method | String | true |app.promotion.queryPersonalityCoupons| 请求方法|
| uid | String | true | |用户uid |
#### 响应
{
"alg": "SALT_MD5",
"code": 200,
"data": [
{
"groupID": "1",
"personalityShopCouponBos": [
{
"couponAmount": 30,
"couponId": 16762,
"couponName": "优惠券商品去除限制测试",
"shopLogo": "",
"shopName": "BLK店铺测试-cui1",
"shopsId": 1026
},
{
"couponAmount": 30,
"couponId": 16760,
"couponName": "商品池测试优惠券",
"shopLogo": "/2017/09/20/11/01a4f697d1426ef45326b974f2236d59f3.jpg",
"shopName": "测试appType",
"shopsId": 1024
}
]
},
{
"groupID": "2",
"personalityShopCouponBos": [
{
"couponAmount": 50,
"couponId": 16758,
"couponName": "lrene优惠券绑定商品池",
"shopLogo": "",
"shopName": "Lee",
"shopsId": 1022
},
{
"couponAmount": 100,
"couponId": 16756,
"couponName": "lrene测试",
"shopLogo": "",
"shopName": "converse测试",
"shopsId": 1020
}
]
},
{
"groupID": "3",
"personalityShopCouponBos": [
{
"couponAmount": 10,
"couponId": 16754,
"couponName": "bind prduct pool10101127",
"shopLogo": "",
"shopName": "converse",
"shopsId": 1018
},
{
"couponAmount": 100,
"couponId": 16752,
"couponName": "多分组营销测试短信3",
"shopLogo": "/2017/09/12/16/01ece59e61af6203b68d7a458493e191ea.jpg",
"shopName": "bulemei的测试店铺",
"shopsId": 1016
}
]
}
],
"md5": "c00cd33d230203bc8534bae9aada2326",
"message": "请求成功"
}
### 7、根据优惠券配置参数发送优惠券(app.coupons.sendCouponByConfig)
#### 请求参数
| Param Name | Param Type | Required | Param Value | Desc |
| :-- | --: | --: | --: | --: |
| method | String | true |app.coupons.sendCouponByConfig| 请求方法|
| uid | String | true | |用户uid |
| eventCode | String | true | |活动配置码 用于系统间调用传递|
#### 响应
{
"alg": "SALT_MD5",
"code": 200,
"md5": "c00cd33d230203bc8534bae9aada2326",
"message": "请求成功"
}
#### 响应错误码
| code | Desc |
| :-- | :-- |
| 200 | 优惠券领取成功 |
\ No newline at end of file
... ...