Showing
2 changed files
with
215 additions
and
0 deletions
inferface-document/cms/APP版本更新管理表结构整理.md
0 → 100644
inferface-document/cms/app版本升级提醒.md
0 → 100644
1 | +# app版本升级提醒 | ||
2 | + | ||
3 | +## APP版本升级提醒列表 | ||
4 | + | ||
5 | +> 'version/appVersionList' | ||
6 | + | ||
7 | +### 返回 | ||
8 | + | ||
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 | +{ | ||
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": "操作成功" | ||
66 | +} | ||
67 | +``` | ||
68 | + | ||
69 | +## 新增版本提醒 | ||
70 | + | ||
71 | +> 'version/addAppVersion' | ||
72 | + | ||
73 | +### 入参 | ||
74 | +----------------------------------------------------------- | ||
75 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
76 | +|------ |---- |---- |------ |---- | | ||
77 | +|version |是 |string |3.2 |版本号 | | ||
78 | +|clientType |是 |String |android |类别 | | ||
79 | +|content |是|String |升级啦!|内容| | ||
80 | +|url |是 |String |http://www.yoho.com |链接| | ||
81 | +|status |是|byte |1|状态| | ||
82 | + | ||
83 | +### 返回 | ||
84 | + | ||
85 | +``` json | ||
86 | + | ||
87 | +{ | ||
88 | + "code": 200, | ||
89 | + "data": [], | ||
90 | + "md5": "d751713988987e9331980363e24189ce", | ||
91 | + "message": "新增成功" | ||
92 | +} | ||
93 | + | ||
94 | +``` | ||
95 | + | ||
96 | +## 编辑页面 | ||
97 | + | ||
98 | +> 'version/editVersionPage' | ||
99 | + | ||
100 | +## 入参 | ||
101 | +----------------------------------------------------------- | ||
102 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
103 | +|------ |---- |---- |------ |---- | | ||
104 | +|id |是 |int |6 |id | | ||
105 | + | ||
106 | + | ||
107 | +### 返回 | ||
108 | + | ||
109 | +``` 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": "操作成功" | ||
134 | +} | ||
135 | + | ||
136 | +``` | ||
137 | + | ||
138 | +## 开启、关闭提醒 | ||
139 | + | ||
140 | +> 'version/publishAppVersion' | ||
141 | + | ||
142 | +### 入参 | ||
143 | + | ||
144 | +----------------------------------------------------------- | ||
145 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
146 | +|------ |---- |---- |------ |---- | | ||
147 | +|id |是 |int |6 |id | | ||
148 | +|status |是 |byte |1 |开启:1;关闭:0 | | ||
149 | + | ||
150 | +### 返回 | ||
151 | + | ||
152 | +``` json | ||
153 | + | ||
154 | +{ | ||
155 | + "code": 200, | ||
156 | + "data": [], | ||
157 | + "md5": "d751713988987e9331980363e24189ce", | ||
158 | + "message": "开启成功" | ||
159 | +} | ||
160 | + | ||
161 | +``` | ||
162 | + | ||
163 | +## 编辑版本提醒 | ||
164 | + | ||
165 | +> 'version/editAppVersion' | ||
166 | + | ||
167 | +## 入参 | ||
168 | + | ||
169 | +----------------------------------------------------------- | ||
170 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
171 | +|------ |---- |---- |------ |---- | | ||
172 | +|id |是 |int |6 |id | | ||
173 | +|version |是 |string |3.2 |版本号 | | ||
174 | +|clientType |是 |String |android |类别 | | ||
175 | +|content |是|String |升级啦!|内容| | ||
176 | +|url |是 |String |http://www.yoho.com |链接| | ||
177 | +|status |是|byte |1|状态| | ||
178 | + | ||
179 | +``` json | ||
180 | + | ||
181 | +{ | ||
182 | + "clientType": "android,ios", | ||
183 | + "content": "开始升级!", | ||
184 | + "id": "6", | ||
185 | + "status": "0", | ||
186 | + "url": "http://www.yoho.service.com", | ||
187 | + "version": "3.6" | ||
188 | +} | ||
189 | + | ||
190 | +``` | ||
191 | + | ||
192 | +### 返回 | ||
193 | + | ||
194 | +``` json | ||
195 | +{ | ||
196 | + "code": 200, | ||
197 | + "data": [], | ||
198 | + "md5": "d751713988987e9331980363e24189ce", | ||
199 | + "message": "修改成功" | ||
200 | +} | ||
201 | + | ||
202 | +``` |
-
Please register or login to post a comment