demo.md
2.36 KB
1、获取成长值流水
获取成长值流水(method=app.passport.growthhistory
请求参数
参数名称 | 参数类型 | 长度 | 可否为空 | 示例 | 默认值 | 备注 |
---|---|---|---|---|---|---|
client_secret | string | 50 | 否 | 5ac68f20cb18efe154be | 进入接口提供的参数加密信息 | |
uid | int | 1234556 | ||||
page | int | 2 | ||||
method | String | method=app.passport.growthhistory |
注意,通用的头部没有列出。
请求示例http://localhost:8080/gateway?method=app.passport.growthhistory&debug=XYZ&uid=50001678&page=2
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"alg": "SALT_MD5",
"code": 200,
"data":
{
"currPage": 2,
"currTotal": 5,
"data":
[
{
"createTime": 1493796890,
"growthValue": 17,
"id": 52,
"type": 44,
"typeDesc": "晒单评价",
"uid": 50001678
},
{
"createTime": 1493796890,
"growthValue": 107,
"id": 50,
"type": 43,
"typeDesc": "登录",
"uid": 50001678
},
{
"createTime": 1493796890,
"growthValue": 16,
"id": 48,
"type": 22,
"typeDesc": "手机认证",
"uid": 50001678
},
{
"createTime": 1493796890,
"growthValue": 15,
"id": 46,
"type": 21,
"typeDesc": "邮箱认证",
"uid": 50001678
},
{
"createTime": 1493796890,
"growthValue": 10,
"id": 44,
"type": 20,
"typeDesc": "资料完善",
"uid": 50001678
}
],
"limit": 10,
"pageSize": 2,
"total": 15
},
"md5": "03093b33e414c0ab02aace085c5bc5f9",
"message": "vip."
}