Showing
1 changed file
with
276 additions
and
0 deletions
@@ -151,5 +151,281 @@ | @@ -151,5 +151,281 @@ | ||
151 | "message":"Id is null" | 151 | "message":"Id is null" |
152 | } | 152 | } |
153 | ``` | 153 | ``` |
154 | +## 获取所有帮助内容 | ||
155 | + | ||
156 | +> 接口名:`/HelpContentRest/getAllHelpContent` | ||
157 | + | ||
158 | +### 入参 | ||
159 | +``` json | ||
160 | +{ | ||
161 | + "categoryId":13, | ||
162 | + "platform":"iphone,android" | ||
163 | +} | ||
164 | +or | ||
165 | +{ | ||
166 | + "categoryId":13, | ||
167 | +} | ||
168 | +or | ||
169 | +{ | ||
170 | + "platform":"iphone,android" | ||
171 | +} | ||
172 | +or | ||
173 | +{ } | ||
174 | +``` | ||
175 | +注意:如果不传入参数,必须传入`{}` | ||
176 | +------------------------- | ||
177 | +|属性名称|类型|例子|说明| | ||
178 | +|--------|----|----|----| | ||
179 | +|categoryId|int|13|分类ID(可选)| | ||
180 | +|platform|String|iphone,android|显示平台(可选)| | ||
181 | +--------------------- | ||
182 | + | ||
183 | +### 返回 | ||
184 | + | ||
185 | +``` json | ||
186 | +{ | ||
187 | + "code": 200, | ||
188 | + "data": [ | ||
189 | + { | ||
190 | + "categoryId": 13, | ||
191 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
192 | + "createTime": 1455438073, | ||
193 | + "id": 44, | ||
194 | + "platform": "iphone,android,h5", | ||
195 | + "status": 1, | ||
196 | + "title": "补开发票", | ||
197 | + "updateTime": 1455438842 | ||
198 | + }, | ||
199 | + { | ||
200 | + "categoryId": 13, | ||
201 | + "content": "4", | ||
202 | + "createTime": 1437566047, | ||
203 | + "id": 17, | ||
204 | + "platform": "iphone,android", | ||
205 | + "status": 1, | ||
206 | + "title": "3", | ||
207 | + "updateTime": 0 | ||
208 | + }, | ||
209 | + { | ||
210 | + "categoryId": 13, | ||
211 | + "content": "3", | ||
212 | + "createTime": 1437566035, | ||
213 | + "id": 16, | ||
214 | + "platform": "iphone,android", | ||
215 | + "status": 1, | ||
216 | + "title": "2", | ||
217 | + "updateTime": 0 | ||
218 | + }, | ||
219 | + { | ||
220 | + "categoryId": 13, | ||
221 | + "content": "订单生成后无法修改收货人信息,请您联系有货客服处理。", | ||
222 | + "createTime": 1437562842, | ||
223 | + "id": 13, | ||
224 | + "platform": "iphone,android", | ||
225 | + "status": 1, | ||
226 | + "title": "修改订单地址/电话", | ||
227 | + "updateTime": 0 | ||
228 | + }, | ||
229 | + { | ||
230 | + "categoryId": 13, | ||
231 | + "content": "因为网络问题,信息更新有所延迟,导致无法显示,请您保持网络顺畅情况下,重新登录进入再查看。", | ||
232 | + "createTime": 1437562792, | ||
233 | + "id": 11, | ||
234 | + "platform": "iphone,android", | ||
235 | + "status": 1, | ||
236 | + "title": "下单后看不到订单", | ||
237 | + "updateTime": 0 | ||
238 | + }, | ||
239 | + { | ||
240 | + "categoryId": 13, | ||
241 | + "content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。", | ||
242 | + "createTime": 1437562767, | ||
243 | + "id": 10, | ||
244 | + "platform": "iphone,android", | ||
245 | + "status": 1, | ||
246 | + "title": "订单内容的修改", | ||
247 | + "updateTime": 0 | ||
248 | + }, | ||
249 | + { | ||
250 | + "categoryId": 13, | ||
251 | + "content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。", | ||
252 | + "createTime": 1437545220, | ||
253 | + "id": 1, | ||
254 | + "platform": "iphone,android", | ||
255 | + "status": 1, | ||
256 | + "title": "取消订单", | ||
257 | + "updateTime": 1437548510 | ||
258 | + } | ||
259 | + ], | ||
260 | + "message": "All Help Content Platform List" | ||
261 | +} | ||
262 | +``` | ||
263 | +## 根据ID获得帮助内容 | ||
264 | + | ||
265 | +> 接口名:`/HelpContentRest/getHelpContentById` | ||
266 | + | ||
267 | +### 入参 | ||
268 | +``` json | ||
269 | +{ | ||
270 | + "id":44 | ||
271 | +} | ||
272 | +``` | ||
273 | +------------------------- | ||
274 | +|属性名称|类型|例子|说明| | ||
275 | +|--------|----|----|----| | ||
276 | +|id|int|44|帮助内容记录ID| | ||
277 | +--------------------- | ||
278 | + | ||
279 | +### 返回 | ||
280 | + | ||
281 | +``` json | ||
282 | +{ | ||
283 | + "code": 200, | ||
284 | + "data": { | ||
285 | + "categoryId": 13, | ||
286 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
287 | + "createTime": 1455438073, | ||
288 | + "id": 44, | ||
289 | + "platform": [ | ||
290 | + "iphone", | ||
291 | + "android", | ||
292 | + "h5" | ||
293 | + ], | ||
294 | + "title": "补开发票", | ||
295 | + "updateTime": 1455438842 | ||
296 | + }, | ||
297 | + "message": "Help Content" | ||
298 | +} | ||
299 | +{ | ||
300 | + "code":400 | ||
301 | + "message":"Id is null" | ||
302 | +} | ||
303 | +``` | ||
304 | + | ||
305 | +## 根据ID获得帮助内容 | ||
306 | + | ||
307 | +> 接口名:`/HelpContentRest/getHelpContentById` | ||
308 | + | ||
309 | +### 入参 | ||
310 | +``` json | ||
311 | +{ | ||
312 | + "id":44 | ||
313 | +} | ||
314 | +``` | ||
315 | +------------------------- | ||
316 | +|属性名称|类型|例子|说明| | ||
317 | +|--------|----|----|----| | ||
318 | +|id|int|44|帮助内容记录ID| | ||
319 | +--------------------- | ||
320 | + | ||
321 | +### 返回 | ||
322 | + | ||
323 | +``` json | ||
324 | +{ | ||
325 | + "code": 200, | ||
326 | + "data": { | ||
327 | + "categoryId": 13, | ||
328 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
329 | + "createTime": 1455438073, | ||
330 | + "id": 44, | ||
331 | + "platform": [ | ||
332 | + "iphone", | ||
333 | + "android", | ||
334 | + "h5" | ||
335 | + ], | ||
336 | + "title": "补开发票", | ||
337 | + "updateTime": 1455438842 | ||
338 | + }, | ||
339 | + "message": "Help Content" | ||
340 | +} | ||
341 | +{ | ||
342 | + "code":400 | ||
343 | + "message":"Id is null" | ||
344 | +} | ||
345 | +``` | ||
346 | + | ||
347 | +## 根据ID获得帮助内容 | ||
348 | + | ||
349 | +> 接口名:`/HelpContentRest/getHelpContentById` | ||
350 | + | ||
351 | +### 入参 | ||
352 | +``` json | ||
353 | +{ | ||
354 | + "id":44 | ||
355 | +} | ||
356 | +``` | ||
357 | +------------------------- | ||
358 | +|属性名称|类型|例子|说明| | ||
359 | +|--------|----|----|----| | ||
360 | +|id|int|44|帮助内容记录ID| | ||
361 | +--------------------- | ||
362 | + | ||
363 | +### 返回 | ||
364 | + | ||
365 | +``` json | ||
366 | +{ | ||
367 | + "code": 200, | ||
368 | + "data": { | ||
369 | + "categoryId": 13, | ||
370 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
371 | + "createTime": 1455438073, | ||
372 | + "id": 44, | ||
373 | + "platform": [ | ||
374 | + "iphone", | ||
375 | + "android", | ||
376 | + "h5" | ||
377 | + ], | ||
378 | + "title": "补开发票", | ||
379 | + "updateTime": 1455438842 | ||
380 | + }, | ||
381 | + "message": "Help Content" | ||
382 | +} | ||
383 | +{ | ||
384 | + "code":400 | ||
385 | + "message":"Id is null" | ||
386 | +} | ||
387 | +``` | ||
388 | + | ||
389 | +## 根据ID获得帮助内容 | ||
390 | + | ||
391 | +> 接口名:`/HelpContentRest/getHelpContentById` | ||
392 | + | ||
393 | +### 入参 | ||
394 | +``` json | ||
395 | +{ | ||
396 | + "id":44 | ||
397 | +} | ||
398 | +``` | ||
399 | +------------------------- | ||
400 | +|属性名称|类型|例子|说明| | ||
401 | +|--------|----|----|----| | ||
402 | +|id|int|44|帮助内容记录ID| | ||
403 | +--------------------- | ||
404 | + | ||
405 | +### 返回 | ||
406 | + | ||
407 | +``` json | ||
408 | +{ | ||
409 | + "code": 200, | ||
410 | + "data": { | ||
411 | + "categoryId": 13, | ||
412 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
413 | + "createTime": 1455438073, | ||
414 | + "id": 44, | ||
415 | + "platform": [ | ||
416 | + "iphone", | ||
417 | + "android", | ||
418 | + "h5" | ||
419 | + ], | ||
420 | + "title": "补开发票", | ||
421 | + "updateTime": 1455438842 | ||
422 | + }, | ||
423 | + "message": "Help Content" | ||
424 | +} | ||
425 | +{ | ||
426 | + "code":400 | ||
427 | + "message":"Id is null" | ||
428 | +} | ||
429 | +``` | ||
154 | 430 | ||
155 | 431 |
-
Please register or login to post a comment