Showing
1 changed file
with
82 additions
and
0 deletions
礼品卡/demo.md
0 → 100644
1 | + | ||
2 | +## 1、获取成长值流水## | ||
3 | + | ||
4 | +获取成长值流水(method=app.passport.growthhistory | ||
5 | + | ||
6 | + | ||
7 | +**请求参数** | ||
8 | + | ||
9 | +| 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 | | ||
10 | +| ---------|:--------:| --------:|-----:|------:|-----:|------:| | ||
11 | +|client_secret |string | 50 |否 |5ac68f20cb18efe154be | |进入接口提供的参数加密信息| | ||
12 | +|uid|int | | |1234556 | || | ||
13 | +|page|int | | |2 | || | ||
14 | +|method|String | | |method=app.passport.growthhistory | || | ||
15 | + | ||
16 | + | ||
17 | +注意,通用的头部没有列出。 | ||
18 | + | ||
19 | +请求示例http://localhost:8080/gateway?method=app.passport.growthhistory&debug=XYZ&uid=50001678&page=2 | ||
20 | + | ||
21 | +code为200即为成功,否则是失败。 响应JSON格式如下所示: | ||
22 | +```json | ||
23 | +{ | ||
24 | + "alg": "SALT_MD5", | ||
25 | + "code": 200, | ||
26 | + "data": | ||
27 | + { | ||
28 | + "currPage": 2, | ||
29 | + "currTotal": 5, | ||
30 | + "data": | ||
31 | + [ | ||
32 | + { | ||
33 | + "createTime": 1493796890, | ||
34 | + "growthValue": 17, | ||
35 | + "id": 52, | ||
36 | + "type": 44, | ||
37 | + "typeDesc": "晒单评价", | ||
38 | + "uid": 50001678 | ||
39 | + }, | ||
40 | + { | ||
41 | + "createTime": 1493796890, | ||
42 | + "growthValue": 107, | ||
43 | + "id": 50, | ||
44 | + "type": 43, | ||
45 | + "typeDesc": "登录", | ||
46 | + "uid": 50001678 | ||
47 | + }, | ||
48 | + { | ||
49 | + "createTime": 1493796890, | ||
50 | + "growthValue": 16, | ||
51 | + "id": 48, | ||
52 | + "type": 22, | ||
53 | + "typeDesc": "手机认证", | ||
54 | + "uid": 50001678 | ||
55 | + }, | ||
56 | + { | ||
57 | + "createTime": 1493796890, | ||
58 | + "growthValue": 15, | ||
59 | + "id": 46, | ||
60 | + "type": 21, | ||
61 | + "typeDesc": "邮箱认证", | ||
62 | + "uid": 50001678 | ||
63 | + }, | ||
64 | + { | ||
65 | + "createTime": 1493796890, | ||
66 | + "growthValue": 10, | ||
67 | + "id": 44, | ||
68 | + "type": 20, | ||
69 | + "typeDesc": "资料完善", | ||
70 | + "uid": 50001678 | ||
71 | + } | ||
72 | + ], | ||
73 | + "limit": 10, | ||
74 | + "pageSize": 2, | ||
75 | + "total": 15 | ||
76 | + }, | ||
77 | + "md5": "03093b33e414c0ab02aace085c5bc5f9", | ||
78 | + "message": "vip." | ||
79 | + } | ||
80 | + | ||
81 | + | ||
82 | +``` |
-
Please register or login to post a comment