|
@@ -7,62 +7,36 @@ |
|
@@ -7,62 +7,36 @@ |
7
|
### 返回
|
7
|
### 返回
|
8
|
|
8
|
|
9
|
``` json
|
9
|
``` json
|
10
|
- {
|
|
|
11
|
- "code": 200,
|
|
|
12
|
- "data": {
|
|
|
13
|
- "appVersionClientType": {
|
|
|
14
|
- "android": "安卓手机",
|
|
|
15
|
- "androidpad": "安卓Pad",
|
|
|
16
|
- "ipad": "IOS Pad",
|
|
|
17
|
- "iphone": "IOS手机"
|
|
|
18
|
- },
|
|
|
19
|
- "list": [
|
|
|
20
|
- {
|
|
|
21
|
- "clientType": "iphone,android,ipad,androidpad",
|
|
|
22
|
- "content": "asdfasdfasdf",
|
|
|
23
|
- "createTime": 1457069079,
|
|
|
24
|
- "id": 5,
|
|
|
25
|
- "status": 0,
|
|
|
26
|
- "updateTime": 0,
|
|
|
27
|
- "url": "adsfasdfasd",
|
|
|
28
|
- "version": "sdfasdasdfasd"
|
|
|
29
|
- },
|
|
|
30
|
- {
|
|
|
31
|
- "clientType": "iphone",
|
|
|
32
|
- "content": "您有新版本更新噢ytjhgjllllll",
|
|
|
33
|
- "createTime": 1445239945,
|
|
|
34
|
- "id": 4,
|
|
|
35
|
- "status": 1,
|
|
|
36
|
- "updateTime": 1457009285,
|
|
|
37
|
- "url": "https://itunes.apple.com/cn/app/yoho!-you-huo-nian-qing-ren/id490655927?mt=8",
|
|
|
38
|
- "version": "V3.1.1"
|
|
|
39
|
- }
|
|
|
40
|
- ]
|
|
|
41
|
- },
|
|
|
42
|
- "md5": "edc6647bf812bd5f8a211a1299c095c6",
|
|
|
43
|
- "message": "操作成功"
|
|
|
44
|
-}
|
|
|
45
|
-```
|
|
|
46
|
-
|
|
|
47
|
-## 新增页面 返回app设备类型
|
|
|
48
|
-
|
|
|
49
|
-> 'version/versionAddPage'
|
|
|
50
|
-
|
|
|
51
|
-### 返回
|
|
|
52
|
-
|
|
|
53
|
-``` json
|
|
|
54
|
{
|
10
|
{
|
55
|
- "code": 200,
|
|
|
56
|
- "data": {
|
|
|
57
|
- "appVersionClientType": {
|
|
|
58
|
- "android": "安卓手机",
|
|
|
59
|
- "androidpad": "安卓Pad",
|
|
|
60
|
- "ipad": "IOS Pad",
|
|
|
61
|
- "iphone": "IOS手机"
|
|
|
62
|
- }
|
|
|
63
|
- },
|
|
|
64
|
- "md5": "46dedd3dade80654ffe0f71462758e48",
|
|
|
65
|
- "message": "操作成功"
|
11
|
+ "code": 200,
|
|
|
12
|
+ "data": {
|
|
|
13
|
+ "list": [
|
|
|
14
|
+ {
|
|
|
15
|
+ // 客户端类型
|
|
|
16
|
+ "clientType": "android,ios",
|
|
|
17
|
+ // 内容
|
|
|
18
|
+ "content": "开始升级!",
|
|
|
19
|
+ // 创建时间
|
|
|
20
|
+ "createTime": 1458615109,
|
|
|
21
|
+ // 主键
|
|
|
22
|
+ "id": 6,
|
|
|
23
|
+ // 状态
|
|
|
24
|
+ "status": 0,
|
|
|
25
|
+ // 更新时间
|
|
|
26
|
+ "updateTime": 1458617605,
|
|
|
27
|
+ // 链接
|
|
|
28
|
+ "url": "http://www.yoho.service.com",
|
|
|
29
|
+ // 版本号
|
|
|
30
|
+ "version": "3.6"
|
|
|
31
|
+ }
|
|
|
32
|
+ ],
|
|
|
33
|
+ "page": 1,
|
|
|
34
|
+ "size": 10,
|
|
|
35
|
+ "total": 6,
|
|
|
36
|
+ "totalPage": 1
|
|
|
37
|
+ },
|
|
|
38
|
+ "md5": "d028547305baa3cd0f79aefe56a0fda2",
|
|
|
39
|
+ "message": "操作成功"
|
66
|
}
|
40
|
}
|
67
|
```
|
41
|
```
|
68
|
|
42
|
|
|
@@ -74,16 +48,15 @@ |
|
@@ -74,16 +48,15 @@ |
74
|
-----------------------------------------------------------
|
48
|
-----------------------------------------------------------
|
75
|
|参数名 |必填 |类型 |示例值 |描述 |
|
49
|
|参数名 |必填 |类型 |示例值 |描述 |
|
76
|
|------ |---- |---- |------ |---- |
|
50
|
|------ |---- |---- |------ |---- |
|
77
|
-|version |是 |string |3.2 |版本号 |
|
|
|
78
|
-|clientType |是 |String |android |类别 |
|
|
|
79
|
-|content |是|String |升级啦!|内容|
|
|
|
80
|
-|url |是 |String |http://www.yoho.com |链接|
|
|
|
81
|
-|status |是|byte |1|状态|
|
51
|
+|version |是 |string |3.2 |版本号 |
|
|
|
52
|
+|clientType |是 |String |android |类别 |
|
|
|
53
|
+|content |是 |String |升级啦! |内容|
|
|
|
54
|
+|url |是 |String |http://www.yoho.com |链接 |
|
|
|
55
|
+|status |是 |byte |1 |状态 |
|
82
|
|
56
|
|
83
|
### 返回
|
57
|
### 返回
|
84
|
|
58
|
|
85
|
``` json
|
59
|
``` json
|
86
|
-
|
|
|
87
|
{
|
60
|
{
|
88
|
"code": 200,
|
61
|
"code": 200,
|
89
|
"data": [],
|
62
|
"data": [],
|
|
@@ -107,32 +80,21 @@ |
|
@@ -107,32 +80,21 @@ |
107
|
### 返回
|
80
|
### 返回
|
108
|
|
81
|
|
109
|
``` json
|
82
|
``` json
|
110
|
-
|
|
|
111
|
- {
|
|
|
112
|
- "code": 200,
|
|
|
113
|
- "data": {
|
|
|
114
|
- "appVersionClientType": {
|
|
|
115
|
- "android": "安卓手机",
|
|
|
116
|
- "androidpad": "安卓Pad",
|
|
|
117
|
- "ipad": "IOS Pad",
|
|
|
118
|
- "iphone": "IOS手机"
|
|
|
119
|
- },
|
|
|
120
|
- "id": 6,
|
|
|
121
|
- "info": {
|
|
|
122
|
- "clientType": "android",
|
|
|
123
|
- "content": "升级啦!",
|
|
|
124
|
- "createTime": 1458615109,
|
|
|
125
|
- "id": 6,
|
|
|
126
|
- "status": 1,
|
|
|
127
|
- "updateTime": 0,
|
|
|
128
|
- "url": "http://www.yoho.com",
|
|
|
129
|
- "version": "3.5"
|
|
|
130
|
- }
|
|
|
131
|
- },
|
|
|
132
|
- "md5": "3db483fbf4b2e8186d1abe901abb6ba6",
|
|
|
133
|
- "message": "操作成功"
|
83
|
+{
|
|
|
84
|
+ "code": 200,
|
|
|
85
|
+ "data": {
|
|
|
86
|
+ "clientType": "iphone",
|
|
|
87
|
+ "content": "友情提醒:你有新版本可以升级啦~~",
|
|
|
88
|
+ "createTime": 1435222979,
|
|
|
89
|
+ "id": 2,
|
|
|
90
|
+ "status": 1,
|
|
|
91
|
+ "updateTime": 1444894886,
|
|
|
92
|
+ "url": "https://itunes.apple.com/cn/app/yoho!-you-huo-nian-qing-ren/id490655927?mt=8",
|
|
|
93
|
+ "version": "3.7.1"
|
|
|
94
|
+ },
|
|
|
95
|
+ "md5": "2c75b3d55bbeec487c7f07c1df094b4b",
|
|
|
96
|
+ "message": "操作成功"
|
134
|
}
|
97
|
}
|
135
|
-
|
|
|
136
|
```
|
98
|
```
|
137
|
|
99
|
|
138
|
## 开启、关闭提醒
|
100
|
## 开启、关闭提醒
|
|
@@ -177,7 +139,6 @@ |
|
@@ -177,7 +139,6 @@ |
177
|
|status |是|byte |1|状态|
|
139
|
|status |是|byte |1|状态|
|
178
|
|
140
|
|
179
|
``` json
|
141
|
``` json
|
180
|
-
|
|
|
181
|
{
|
142
|
{
|
182
|
"clientType": "android,ios",
|
143
|
"clientType": "android,ios",
|
183
|
"content": "开始升级!",
|
144
|
"content": "开始升级!",
|
|
@@ -186,7 +147,6 @@ |
|
@@ -186,7 +147,6 @@ |
186
|
"url": "http://www.yoho.service.com",
|
147
|
"url": "http://www.yoho.service.com",
|
187
|
"version": "3.6"
|
148
|
"version": "3.6"
|
188
|
}
|
149
|
}
|
189
|
-
|
|
|
190
|
```
|
150
|
```
|
191
|
|
151
|
|
192
|
### 返回
|
152
|
### 返回
|
|
@@ -199,4 +159,4 @@ |
|
@@ -199,4 +159,4 @@ |
199
|
"message": "修改成功"
|
159
|
"message": "修改成功"
|
200
|
}
|
160
|
}
|
201
|
|
161
|
|
202
|
-``` |
|
|
|
|
162
|
+``` |