Authored by chaogeng

Update 获取成长值vip信息.md

1 -  
2 ## 1、获取成长值vip信息## 1 ## 1、获取成长值vip信息##
3 2
4 获取成长值vip信息(method=app.passport.growthvip) 3 获取成长值vip信息(method=app.passport.growthvip)
@@ -39,3 +38,133 @@ code为200即为成功,否则是失败。 响应JSON格式如下所示: @@ -39,3 +38,133 @@ code为200即为成功,否则是失败。 响应JSON格式如下所示:
39 } 38 }
40 39
41 ``` 40 ```
  41 +
  42 +## 2、获取会员中心用户等级详情##
  43 +
  44 +获取成长值vip信息(method=app.passport.growthDetail)
  45 +
  46 +
  47 +**请求参数**
  48 +
  49 +| 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 |
  50 +| ---------|:--------:| --------:|-----:|------:|-----:|------:|
  51 +|uid|int | | |50001678 | ||
  52 +|method|String | | |method=app.passport.growthDetail | ||
  53 +|client_type |string | 10 |否 |iphone | |客户端类型|
  54 +
  55 +注意,通用的头部没有列出。
  56 +
  57 +请求示例http://192.168.103.73:8080/gateway?method=app.passport.growthDetail&uid=50001678&client_type=iphone
  58 +
  59 +code为200即为成功,否则是失败。 响应JSON格式如下所示:
  60 +```json
  61 + {
  62 + "alg": "SALT_MD5",
  63 + "code": 200,
  64 + "data":
  65 + {
  66 + "uid":50001678,
  67 + "nickName": "昵称是啥",
  68 + "headIco":"head_ico=http://head.static.yhbimg.com/yhb-headxxxxxxxxxxxxxxx?imageView2/{mode}/w/{width}/h/{height}",
  69 + "growthValue": 1500,
  70 + "vipLevel": 1,
  71 + "expireTime": "1522425794",
  72 + "vipLevels":[
  73 + {
  74 + "title":"银卡",
  75 + "needGrouth":600,
  76 + "curLevel":"1",
  77 + "nextLevel":"2",
  78 + "desc":"",
  79 + "privilege":[
  80 + {
  81 + "title":"专享折扣",
  82 + "desc":"",
  83 + "discount":"0.95",
  84 + "pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
  85 + "pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
  86 + "light": "Y"
  87 + },
  88 + {
  89 + "title":"生日礼包",
  90 + "desc":"",
  91 + "discount":"",
  92 + "pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
  93 + "pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
  94 + "light": "Y"
  95 + }
  96 + ]
  97 +
  98 +
  99 + },
  100 + {
  101 + "title":"金卡",
  102 + "needGrouth":2000,
  103 + "curLevel":"2",
  104 + "nextLevel":"3",
  105 + "desc":"",
  106 + "privilege":[
  107 + {
  108 + "title":"专享折扣",
  109 + "desc":"",
  110 + "discount":"0.95",
  111 + "pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
  112 + "pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
  113 + "light": "Y"
  114 + },
  115 + {
  116 + "title":"生日礼包",
  117 + "desc":"",
  118 + "discount":"",
  119 + "pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
  120 + "pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
  121 + "light": "Y"
  122 + }
  123 + ]
  124 +
  125 +
  126 + },
  127 + {
  128 + "title":"白金卡",
  129 + "needGrouth":5000,
  130 + "curLevel":"3",
  131 + "nextLevel":"4",
  132 + "desc":"",
  133 + "privilege":[
  134 + {
  135 + "title":"专享折扣",
  136 + "desc":"",
  137 + "discount":"0.95",
  138 + "pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
  139 + "pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
  140 + "light": "Y"
  141 + },
  142 + {
  143 + "title":"生日礼包",
  144 + "desc":"",
  145 + "discount":"",
  146 + "pic_small":"http://static.yohobuy.com/images/app/icon_2x_yhxx.png",
  147 + "pic_big":"http://static.yohobuy.com/images/app/icon_3x_yhxx.png",
  148 + "light": "Y"
  149 + }
  150 + ]
  151 +
  152 +
  153 + },
  154 + {
  155 + "title":"黑卡",
  156 + "needGrouth":"敬请期待",
  157 + "curLevel":"4",
  158 + "nextLevel":"",
  159 + "desc":"黑卡会员是YOHO!BUY有货即将推出的邀请制会员,我们将对您在有货的综合表现(包含不限于购物消费力、浏览购物行为)进行评估",
  160 + "privilege":[
  161 + ]
  162 + }
  163 + ]
  164 +
  165 + },
  166 + "md5": "8b296f5ae1bfa3ff27be73dd83c52a30",
  167 + "message": "vip detail."
  168 + }
  169 +
  170 +```