|
|
|
|
|
## 1、获取成长值vip信息##
|
|
|
|
|
|
获取成长值vip信息(method=app.passport.growthvip)
|
...
|
...
|
@@ -38,4 +37,134 @@ code为200即为成功,否则是失败。 响应JSON格式如下所示: |
|
|
"message": "vip."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
## 2、获取会员中心用户等级详情##
|
|
|
|
|
|
获取成长值vip信息(method=app.passport.growthDetail)
|
|
|
|
|
|
|
|
|
**请求参数**
|
|
|
|
|
|
| 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 |
|
|
|
| ---------|:--------:| --------:|-----:|------:|-----:|------:|
|
|
|
|uid|int | | |50001678 | ||
|
|
|
|method|String | | |method=app.passport.growthDetail | ||
|
|
|
|client_type |string | 10 |否 |iphone | |客户端类型|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
|
|
|
请求示例http://192.168.103.73:8080/gateway?method=app.passport.growthDetail&uid=50001678&client_type=iphone
|
|
|
|
|
|
code为200即为成功,否则是失败。 响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data":
|
|
|
{
|
|
|
"uid":50001678,
|
|
|
"nickName": "昵称是啥",
|
|
|
"headIco":"head_ico=http://head.static.yhbimg.com/yhb-headxxxxxxxxxxxxxxx?imageView2/{mode}/w/{width}/h/{height}",
|
|
|
"growthValue": 1500,
|
|
|
"vipLevel": 1,
|
|
|
"expireTime": "1522425794",
|
|
|
"vipLevels":[
|
|
|
{
|
|
|
"title":"银卡",
|
|
|
"needGrouth":600,
|
|
|
"curLevel":"1",
|
|
|
"nextLevel":"2",
|
|
|
"desc":"",
|
|
|
"privilege":[
|
|
|
{
|
|
|
"title":"专享折扣",
|
|
|
"desc":"",
|
|
|
"discount":"0.95",
|
|
|
"pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
|
|
|
"pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
|
|
|
"light": "Y"
|
|
|
},
|
|
|
{
|
|
|
"title":"生日礼包",
|
|
|
"desc":"",
|
|
|
"discount":"",
|
|
|
"pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
|
|
|
"pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
|
|
|
"light": "Y"
|
|
|
}
|
|
|
]
|
|
|
|
|
|
|
|
|
},
|
|
|
{
|
|
|
"title":"金卡",
|
|
|
"needGrouth":2000,
|
|
|
"curLevel":"2",
|
|
|
"nextLevel":"3",
|
|
|
"desc":"",
|
|
|
"privilege":[
|
|
|
{
|
|
|
"title":"专享折扣",
|
|
|
"desc":"",
|
|
|
"discount":"0.95",
|
|
|
"pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
|
|
|
"pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
|
|
|
"light": "Y"
|
|
|
},
|
|
|
{
|
|
|
"title":"生日礼包",
|
|
|
"desc":"",
|
|
|
"discount":"",
|
|
|
"pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
|
|
|
"pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
|
|
|
"light": "Y"
|
|
|
}
|
|
|
]
|
|
|
|
|
|
|
|
|
},
|
|
|
{
|
|
|
"title":"白金卡",
|
|
|
"needGrouth":5000,
|
|
|
"curLevel":"3",
|
|
|
"nextLevel":"4",
|
|
|
"desc":"",
|
|
|
"privilege":[
|
|
|
{
|
|
|
"title":"专享折扣",
|
|
|
"desc":"",
|
|
|
"discount":"0.95",
|
|
|
"pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
|
|
|
"pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
|
|
|
"light": "Y"
|
|
|
},
|
|
|
{
|
|
|
"title":"生日礼包",
|
|
|
"desc":"",
|
|
|
"discount":"",
|
|
|
"pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
|
|
|
"pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
|
|
|
"light": "Y"
|
|
|
}
|
|
|
]
|
|
|
|
|
|
|
|
|
},
|
|
|
{
|
|
|
"title":"黑卡",
|
|
|
"needGrouth":"敬请期待",
|
|
|
"curLevel":"4",
|
|
|
"nextLevel":"",
|
|
|
"desc":"黑卡会员是YOHO!BUY有货即将推出的邀请制会员,我们将对您在有货的综合表现(包含不限于购物消费力、浏览购物行为)进行评估",
|
|
|
"privilege":[
|
|
|
]
|
|
|
}
|
|
|
]
|
|
|
|
|
|
},
|
|
|
"md5": "8b296f5ae1bfa3ff27be73dd83c52a30",
|
|
|
"message": "vip detail."
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|