Showing
1 changed file
with
816 additions
and
0 deletions
inferface-document/cms/help_category.md
0 → 100644
1 | +# 帮助分类接口服务定义 | ||
2 | +--------------------- | ||
3 | + | ||
4 | +## 添加帮助分类 | ||
5 | + | ||
6 | +> 接口名:`/HelpCategoryRest/addCategory` | ||
7 | + | ||
8 | +### 入参 | ||
9 | +``` json | ||
10 | +{ | ||
11 | + "categoryName":"订单问题", | ||
12 | + "parentId":0, | ||
13 | + "platform":"iphone,android" | ||
14 | +} | ||
15 | +``` | ||
16 | +------------------------- | ||
17 | +|属性名称|类型|例子|说明| | ||
18 | +|--------|----|----|----| | ||
19 | +|title|String|补开发票|帮助标题| | ||
20 | +|categoryId|int|13|分类ID| | ||
21 | +|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容| | ||
22 | +|platform|String|iphone,android|显示平台| | ||
23 | +--------------------- | ||
24 | + | ||
25 | +### 返回 | ||
26 | + | ||
27 | +``` json | ||
28 | +{ | ||
29 | + "code": 200, | ||
30 | + "message": "Add Help Category Success" | ||
31 | +} | ||
32 | +or | ||
33 | +{ | ||
34 | + "code":400 | ||
35 | + "message":"分类名称不能为空" | ||
36 | +} | ||
37 | +or | ||
38 | +{ | ||
39 | + "code":400 | ||
40 | + "message":"分类ID无效" | ||
41 | +} | ||
42 | +or | ||
43 | +{ | ||
44 | + "code":400 | ||
45 | + "message":"显示平台无效" | ||
46 | +} | ||
47 | +or | ||
48 | +{ | ||
49 | + "code":500 | ||
50 | + "message":"Add Help Category Fail" | ||
51 | +} | ||
52 | +``` | ||
53 | + | ||
54 | + | ||
55 | +## 修改帮助内容 | ||
56 | + | ||
57 | +> 接口名:`/HelpContentRest/updateHelpContent` | ||
58 | + | ||
59 | +### 入参 | ||
60 | +``` json | ||
61 | +{ | ||
62 | + "id":44, | ||
63 | + "title":"补开发票", | ||
64 | + "categoryId":13, | ||
65 | + "platform":"iphone,android,h5", | ||
66 | + "content":"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。" | ||
67 | +} | ||
68 | +``` | ||
69 | +------------------------- | ||
70 | +|属性名称|类型|例子|说明| | ||
71 | +|--------|----|----|----| | ||
72 | +|id|int|44|帮助内容记录ID| | ||
73 | +|title|String|补开发票|帮助标题| | ||
74 | +|categoryId|int|13|分类ID| | ||
75 | +|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容| | ||
76 | +|platform|String|iphone,android|显示平台| | ||
77 | +--------------------- | ||
78 | + | ||
79 | +### 返回 | ||
80 | + | ||
81 | +``` json | ||
82 | +{ | ||
83 | + "code": 200, | ||
84 | + "message": "Update Help Content Success" | ||
85 | +} | ||
86 | +{ | ||
87 | + "code":400 | ||
88 | + "message":"Id is null" | ||
89 | +} | ||
90 | +{ | ||
91 | + "code":400 | ||
92 | + "message":"帮助标题不能为空" | ||
93 | +} | ||
94 | +{ | ||
95 | + "code":400 | ||
96 | + "message":"分类ID无效" | ||
97 | +} | ||
98 | +{ | ||
99 | + "code":400 | ||
100 | + "message":"内容无效" | ||
101 | +} | ||
102 | +{ | ||
103 | + "code":400 | ||
104 | + "message":"显示平台无效" | ||
105 | +} | ||
106 | +{ | ||
107 | + "code":500 | ||
108 | + "message":"Upodate Help Content Fail" | ||
109 | +} | ||
110 | +``` | ||
111 | + | ||
112 | +## 根据ID获得帮助内容 | ||
113 | + | ||
114 | +> 接口名:`/HelpContentRest/getHelpContentById` | ||
115 | + | ||
116 | +### 入参 | ||
117 | +``` json | ||
118 | +{ | ||
119 | + "id":44 | ||
120 | +} | ||
121 | +``` | ||
122 | +------------------------- | ||
123 | +|属性名称|类型|例子|说明| | ||
124 | +|--------|----|----|----| | ||
125 | +|id|int|44|帮助内容记录ID| | ||
126 | +--------------------- | ||
127 | + | ||
128 | +### 返回 | ||
129 | + | ||
130 | +``` json | ||
131 | +{ | ||
132 | + "code": 200, | ||
133 | + "data": { | ||
134 | + "categoryId": 13, | ||
135 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
136 | + "createTime": 1455438073, | ||
137 | + "id": 44, | ||
138 | + "platform": [ | ||
139 | + "iphone", | ||
140 | + "android", | ||
141 | + "h5" | ||
142 | + ], | ||
143 | + "title": "补开发票", | ||
144 | + "updateTime": 1455438842 | ||
145 | + }, | ||
146 | + "message": "Help Content" | ||
147 | +} | ||
148 | +{ | ||
149 | + "code":400 | ||
150 | + "message":"Id is null" | ||
151 | +} | ||
152 | +``` | ||
153 | +## 获取所有帮助内容 | ||
154 | + | ||
155 | +> 接口名:`/HelpContentRest/getAllHelpContent` | ||
156 | + | ||
157 | +### 入参 | ||
158 | +``` json | ||
159 | +{ | ||
160 | + "categoryId":13, | ||
161 | + "platform":"iphone,android" | ||
162 | +} | ||
163 | +or | ||
164 | +{ | ||
165 | + "categoryId":13, | ||
166 | +} | ||
167 | +or | ||
168 | +{ | ||
169 | + "platform":"iphone,android" | ||
170 | +} | ||
171 | +or | ||
172 | +{ } | ||
173 | +``` | ||
174 | +注意:如果不传入参数,必须传入`{}` | ||
175 | +------------------------- | ||
176 | +|属性名称|类型|例子|说明| | ||
177 | +|--------|----|----|----| | ||
178 | +|categoryId|int|13|分类ID(可选)| | ||
179 | +|platform|String|iphone,android|显示平台(可选)| | ||
180 | +--------------------- | ||
181 | + | ||
182 | +### 返回 | ||
183 | + | ||
184 | +``` json | ||
185 | +{ | ||
186 | + "code": 200, | ||
187 | + "data": [ | ||
188 | + { | ||
189 | + "categoryId": 13, | ||
190 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
191 | + "createTime": 1455438073, | ||
192 | + "id": 44, | ||
193 | + "platform": "iphone,android,h5", | ||
194 | + "status": 1, | ||
195 | + "title": "补开发票", | ||
196 | + "updateTime": 1455438842 | ||
197 | + }, | ||
198 | + { | ||
199 | + "categoryId": 13, | ||
200 | + "content": "4", | ||
201 | + "createTime": 1437566047, | ||
202 | + "id": 17, | ||
203 | + "platform": "iphone,android", | ||
204 | + "status": 1, | ||
205 | + "title": "3", | ||
206 | + "updateTime": 0 | ||
207 | + }, | ||
208 | + { | ||
209 | + "categoryId": 13, | ||
210 | + "content": "3", | ||
211 | + "createTime": 1437566035, | ||
212 | + "id": 16, | ||
213 | + "platform": "iphone,android", | ||
214 | + "status": 1, | ||
215 | + "title": "2", | ||
216 | + "updateTime": 0 | ||
217 | + }, | ||
218 | + { | ||
219 | + "categoryId": 13, | ||
220 | + "content": "订单生成后无法修改收货人信息,请您联系有货客服处理。", | ||
221 | + "createTime": 1437562842, | ||
222 | + "id": 13, | ||
223 | + "platform": "iphone,android", | ||
224 | + "status": 1, | ||
225 | + "title": "修改订单地址/电话", | ||
226 | + "updateTime": 0 | ||
227 | + }, | ||
228 | + { | ||
229 | + "categoryId": 13, | ||
230 | + "content": "因为网络问题,信息更新有所延迟,导致无法显示,请您保持网络顺畅情况下,重新登录进入再查看。", | ||
231 | + "createTime": 1437562792, | ||
232 | + "id": 11, | ||
233 | + "platform": "iphone,android", | ||
234 | + "status": 1, | ||
235 | + "title": "下单后看不到订单", | ||
236 | + "updateTime": 0 | ||
237 | + }, | ||
238 | + { | ||
239 | + "categoryId": 13, | ||
240 | + "content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。", | ||
241 | + "createTime": 1437562767, | ||
242 | + "id": 10, | ||
243 | + "platform": "iphone,android", | ||
244 | + "status": 1, | ||
245 | + "title": "订单内容的修改", | ||
246 | + "updateTime": 0 | ||
247 | + }, | ||
248 | + { | ||
249 | + "categoryId": 13, | ||
250 | + "content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。", | ||
251 | + "createTime": 1437545220, | ||
252 | + "id": 1, | ||
253 | + "platform": "iphone,android", | ||
254 | + "status": 1, | ||
255 | + "title": "取消订单", | ||
256 | + "updateTime": 1437548510 | ||
257 | + } | ||
258 | + ], | ||
259 | + "message": "All Help Content Platform List" | ||
260 | +} | ||
261 | +``` | ||
262 | +## 删除帮助内容 | ||
263 | + | ||
264 | +> 接口名:`/HelpContentRest/deleteHelpContent` | ||
265 | + | ||
266 | +### 入参 | ||
267 | +``` json | ||
268 | +{ | ||
269 | + "id":44 | ||
270 | +} | ||
271 | +``` | ||
272 | +------------------------- | ||
273 | +|属性名称|类型|例子|说明| | ||
274 | +|--------|----|----|----| | ||
275 | +|id|int|44|帮助内容记录ID| | ||
276 | +--------------------- | ||
277 | + | ||
278 | +### 返回 | ||
279 | + | ||
280 | +``` json | ||
281 | +{ | ||
282 | + "code": 200, | ||
283 | + "message": "删除成功" | ||
284 | +} | ||
285 | +or | ||
286 | +{ | ||
287 | + "code": 400, | ||
288 | + "message": "Id is null" | ||
289 | +} | ||
290 | +or | ||
291 | +{ | ||
292 | + "code": 500, | ||
293 | + "message": "删除失败" | ||
294 | +} | ||
295 | +``` | ||
296 | + | ||
297 | +## 分页显示帮助内容 | ||
298 | + | ||
299 | +> 接口名:`/HelpContentRest/getHelpContentList` | ||
300 | + | ||
301 | +### 入参 | ||
302 | +``` json | ||
303 | +{ | ||
304 | + "page":2, | ||
305 | + "size":12 | ||
306 | +} | ||
307 | +``` | ||
308 | +------------------------- | ||
309 | +|属性名称|类型|例子|说明| | ||
310 | +|--------|----|----|----| | ||
311 | +|page|int|2|第几页(可选) 默认为1| | ||
312 | +|size|int|12|每页条数(可选)默认为10| | ||
313 | +--------------------- | ||
314 | + | ||
315 | +### 返回 | ||
316 | + | ||
317 | +``` json | ||
318 | +{ | ||
319 | + "code": 200, | ||
320 | + "data": { | ||
321 | + "list": [ | ||
322 | + { | ||
323 | + "categoryId": 0, | ||
324 | + "content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。", | ||
325 | + "createTime": 0, | ||
326 | + "id": 0, | ||
327 | + "platform": "iphone,android", | ||
328 | + "title": "订单内容的修改", | ||
329 | + "updateTime": 0 | ||
330 | + }, | ||
331 | + { | ||
332 | + "categoryId": 0, | ||
333 | + "content": "优惠券是有货线上品牌商城针对不同品牌或商品向消费者发送的虚拟券,优惠券可直接用于指定品牌或商品消费,不可转让他人,不可兑换为现金。", | ||
334 | + "createTime": 0, | ||
335 | + "id": 0, | ||
336 | + "platform": "iphone,android", | ||
337 | + "title": "什么是优惠券?", | ||
338 | + "updateTime": 0 | ||
339 | + }, | ||
340 | + { | ||
341 | + "categoryId": 0, | ||
342 | + "content": "Yoho币是有货商城全场针对不同商品向已激活用户返还的虚拟购物币。Yoho!币可直接用于有货线上购物使用,不可转让他人,不可兑换为现金。使用YOHO币支付的金额将不计入消费金额用以计算返还金额。", | ||
343 | + "createTime": 0, | ||
344 | + "id": 0, | ||
345 | + "platform": "iphone,android", | ||
346 | + "title": "Yoho币是什么,有什么用?", | ||
347 | + "updateTime": 0 | ||
348 | + }, | ||
349 | + { | ||
350 | + "categoryId": 0, | ||
351 | + "content": "银卡会员需年度累计消费满600元,金卡会员需年度累计消费满2000元,白金会员需年度累计消费满5000元。年度指连续的365天内(数字年),而非2011,2012这样的自然年。", | ||
352 | + "createTime": 0, | ||
353 | + "id": 0, | ||
354 | + "platform": "iphone,android", | ||
355 | + "title": "消费多少可以成为银卡会员、金卡会员、白金会员?", | ||
356 | + "updateTime": 0 | ||
357 | + }, | ||
358 | + { | ||
359 | + "categoryId": 0, | ||
360 | + "content": "您可进入“我的订单”,点击”确认收货”后,申请退换货,按页面提示填写相关信息,提交申请。我们会在24小时内以短信或电话的方式告知您审核结果,审核通过后,请您将商品连同发货单一并寄回,请您寄回时不要选择平邮或到付。", | ||
361 | + "createTime": 0, | ||
362 | + "id": 0, | ||
363 | + "platform": "iphone,android", | ||
364 | + "title": "如何办理退换货", | ||
365 | + "updateTime": 0 | ||
366 | + }, | ||
367 | + { | ||
368 | + "categoryId": 0, | ||
369 | + "content": "有货与配送公司签订先验货后签收协议,请在配送人员还在场的情况下,当面验收您的商品,货到付款订单可以开箱验货但是未签收情况下不能试穿。", | ||
370 | + "createTime": 0, | ||
371 | + "id": 0, | ||
372 | + "platform": "iphone,android", | ||
373 | + "title": "可以开箱验货吗", | ||
374 | + "updateTime": 0 | ||
375 | + }, | ||
376 | + { | ||
377 | + "categoryId": 0, | ||
378 | + "content": "浦发,深发,民生等银行只要客户设了密码,都是不可以进行交易的;工,农,建等全国性银行中,只有工行肯定是不能交易,别的银行是可以的。如在支付中有任何疑问,请联系有货客服为您处理", | ||
379 | + "createTime": 0, | ||
380 | + "id": 0, | ||
381 | + "platform": "iphone,android", | ||
382 | + "title": "为什么信用卡无法支付", | ||
383 | + "updateTime": 0 | ||
384 | + }, | ||
385 | + { | ||
386 | + "categoryId": 0, | ||
387 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
388 | + "createTime": 0, | ||
389 | + "id": 0, | ||
390 | + "platform": "iphone,android", | ||
391 | + "title": "补开发票", | ||
392 | + "updateTime": 0 | ||
393 | + }, | ||
394 | + { | ||
395 | + "categoryId": 0, | ||
396 | + "content": "您可进入“我的订单”中查询订单状态,有货会在订单审核通过后24小时内为您发出包裹。(温馨提示:预售商品发货时间以商品页面标注为准)。", | ||
397 | + "createTime": 0, | ||
398 | + "id": 0, | ||
399 | + "platform": "iphone,android", | ||
400 | + "title": "发货时间", | ||
401 | + "updateTime": 0 | ||
402 | + }, | ||
403 | + { | ||
404 | + "categoryId": 0, | ||
405 | + "content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。", | ||
406 | + "createTime": 0, | ||
407 | + "id": 0, | ||
408 | + "platform": "iphone,android", | ||
409 | + "title": "取消订单", | ||
410 | + "updateTime": 0 | ||
411 | + } | ||
412 | + ], | ||
413 | + "page": 2, | ||
414 | + "size": 12, | ||
415 | + "total": 0, | ||
416 | + "totalPage": 0 | ||
417 | + }, | ||
418 | + "message": "Help Content List" | ||
419 | +} | ||
420 | +``` | ||
421 | + | ||
422 | +## 获取帮助内容总记录数 | ||
423 | + | ||
424 | +> 接口名:`/HelpContentRest/getHelpContentCount` | ||
425 | + | ||
426 | +### 入参 | ||
427 | +无 | ||
428 | +--------------------- | ||
429 | + | ||
430 | +### 返回 | ||
431 | + | ||
432 | +``` json | ||
433 | +{ | ||
434 | + "code": 200, | ||
435 | + "data": 22, | ||
436 | + "message": "成功" | ||
437 | +} | ||
438 | +``` | ||
439 | + | ||
440 | +## 根据分类ID查帮助内容 | ||
441 | + | ||
442 | +> 接口名:`/HelpContentRest/getHelpContentByCategoryId` | ||
443 | + | ||
444 | +### 入参 | ||
445 | +``` json | ||
446 | +{ | ||
447 | + "categoryId": 13 | ||
448 | +} | ||
449 | +``` | ||
450 | +------------------------- | ||
451 | +|属性名称|类型|例子|说明| | ||
452 | +|--------|----|----|----| | ||
453 | +|categoryId|int|13|分类ID| | ||
454 | +--------------------- | ||
455 | + | ||
456 | +### 返回 | ||
457 | + | ||
458 | +``` json | ||
459 | +{ | ||
460 | + "code": 200, | ||
461 | + "data": [ | ||
462 | + { | ||
463 | + "categoryId": 13, | ||
464 | + "content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。", | ||
465 | + "createTime": 1437545220, | ||
466 | + "id": 1, | ||
467 | + "platform": "iphone,android", | ||
468 | + "status": 1, | ||
469 | + "title": "取消订单", | ||
470 | + "updateTime": 1437548510 | ||
471 | + }, | ||
472 | + { | ||
473 | + "categoryId": 13, | ||
474 | + "content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。", | ||
475 | + "createTime": 1437562767, | ||
476 | + "id": 10, | ||
477 | + "platform": "iphone,android", | ||
478 | + "status": 1, | ||
479 | + "title": "订单内容的修改", | ||
480 | + "updateTime": 0 | ||
481 | + }, | ||
482 | + { | ||
483 | + "categoryId": 13, | ||
484 | + "content": "因为网络问题,信息更新有所延迟,导致无法显示,请您保持网络顺畅情况下,重新登录进入再查看。", | ||
485 | + "createTime": 1437562792, | ||
486 | + "id": 11, | ||
487 | + "platform": "iphone,android", | ||
488 | + "status": 1, | ||
489 | + "title": "下单后看不到订单", | ||
490 | + "updateTime": 0 | ||
491 | + }, | ||
492 | + { | ||
493 | + "categoryId": 13, | ||
494 | + "content": "订单生成后无法修改收货人信息,请您联系有货客服处理。", | ||
495 | + "createTime": 1437562842, | ||
496 | + "id": 13, | ||
497 | + "platform": "iphone,android", | ||
498 | + "status": 1, | ||
499 | + "title": "修改订单地址/电话", | ||
500 | + "updateTime": 0 | ||
501 | + }, | ||
502 | + { | ||
503 | + "categoryId": 13, | ||
504 | + "content": "3", | ||
505 | + "createTime": 1437566035, | ||
506 | + "id": 16, | ||
507 | + "platform": "iphone,android", | ||
508 | + "status": 1, | ||
509 | + "title": "2", | ||
510 | + "updateTime": 0 | ||
511 | + }, | ||
512 | + { | ||
513 | + "categoryId": 13, | ||
514 | + "content": "4", | ||
515 | + "createTime": 1437566047, | ||
516 | + "id": 17, | ||
517 | + "platform": "iphone,android", | ||
518 | + "status": 1, | ||
519 | + "title": "3", | ||
520 | + "updateTime": 0 | ||
521 | + } | ||
522 | + ], | ||
523 | + "message": "Help Content List by CategoryId" | ||
524 | +} | ||
525 | +or | ||
526 | +{ | ||
527 | + "code":400 | ||
528 | + "message":"分类ID无效" | ||
529 | +} | ||
530 | +``` | ||
531 | + | ||
532 | +## 根据平台查帮助内容 | ||
533 | + | ||
534 | +> 接口名:`/HelpContentRest/getHelpContentByPlatform` | ||
535 | + | ||
536 | +### 入参 | ||
537 | +``` json | ||
538 | +{ | ||
539 | + "platform": "iphone,android" | ||
540 | +} | ||
541 | +``` | ||
542 | +------------------------- | ||
543 | +|属性名称|类型|例子|说明| | ||
544 | +|--------|----|----|----| | ||
545 | +|platform|String|iphone,android|显示平台| | ||
546 | +--------------------- | ||
547 | + | ||
548 | +### 返回 | ||
549 | + | ||
550 | +``` json | ||
551 | +{ | ||
552 | + "code": 200, | ||
553 | + "data": [ | ||
554 | + { | ||
555 | + "categoryId": 13, | ||
556 | + "content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。", | ||
557 | + "createTime": 1437545220, | ||
558 | + "id": 1, | ||
559 | + "platform": "iphone,android", | ||
560 | + "status": 1, | ||
561 | + "title": "取消订单", | ||
562 | + "updateTime": 1437548510 | ||
563 | + }, | ||
564 | + { | ||
565 | + "categoryId": 14, | ||
566 | + "content": "您可进入“我的订单”中查询订单状态,有货会在订单审核通过后24小时内为您发出包裹。(温馨提示:预售商品发货时间以商品页面标注为准)。", | ||
567 | + "createTime": 1437546597, | ||
568 | + "id": 2, | ||
569 | + "platform": "iphone,android", | ||
570 | + "status": 1, | ||
571 | + "title": "发货时间", | ||
572 | + "updateTime": 1437548685 | ||
573 | + }, | ||
574 | + { | ||
575 | + "categoryId": 15, | ||
576 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
577 | + "createTime": 1437546640, | ||
578 | + "id": 3, | ||
579 | + "platform": "iphone,android", | ||
580 | + "status": 1, | ||
581 | + "title": "补开发票", | ||
582 | + "updateTime": 1437548679 | ||
583 | + }, | ||
584 | + { | ||
585 | + "categoryId": 17, | ||
586 | + "content": "浦发,深发,民生等银行只要客户设了密码,都是不可以进行交易的;工,农,建等全国性银行中,只有工行肯定是不能交易,别的银行是可以的。如在支付中有任何疑问,请联系有货客服为您处理", | ||
587 | + "createTime": 1437546674, | ||
588 | + "id": 4, | ||
589 | + "platform": "iphone,android", | ||
590 | + "status": 1, | ||
591 | + "title": "为什么信用卡无法支付", | ||
592 | + "updateTime": 1437548673 | ||
593 | + }, | ||
594 | + { | ||
595 | + "categoryId": 18, | ||
596 | + "content": "有货与配送公司签订先验货后签收协议,请在配送人员还在场的情况下,当面验收您的商品,货到付款订单可以开箱验货但是未签收情况下不能试穿。", | ||
597 | + "createTime": 1437546710, | ||
598 | + "id": 5, | ||
599 | + "platform": "iphone,android", | ||
600 | + "status": 1, | ||
601 | + "title": "可以开箱验货吗", | ||
602 | + "updateTime": 1437548665 | ||
603 | + }, | ||
604 | + { | ||
605 | + "categoryId": 19, | ||
606 | + "content": "您可进入“我的订单”,点击”确认收货”后,申请退换货,按页面提示填写相关信息,提交申请。我们会在24小时内以短信或电话的方式告知您审核结果,审核通过后,请您将商品连同发货单一并寄回,请您寄回时不要选择平邮或到付。", | ||
607 | + "createTime": 1437546751, | ||
608 | + "id": 6, | ||
609 | + "platform": "iphone,android", | ||
610 | + "status": 1, | ||
611 | + "title": "如何办理退换货", | ||
612 | + "updateTime": 1437548659 | ||
613 | + }, | ||
614 | + { | ||
615 | + "categoryId": 21, | ||
616 | + "content": "银卡会员需年度累计消费满600元,金卡会员需年度累计消费满2000元,白金会员需年度累计消费满5000元。年度指连续的365天内(数字年),而非2011,2012这样的自然年。", | ||
617 | + "createTime": 1437546777, | ||
618 | + "id": 7, | ||
619 | + "platform": "iphone,android", | ||
620 | + "status": 1, | ||
621 | + "title": "消费多少可以成为银卡会员、金卡会员、白金会员?", | ||
622 | + "updateTime": 1437548651 | ||
623 | + }, | ||
624 | + { | ||
625 | + "categoryId": 22, | ||
626 | + "content": "Yoho币是有货商城全场针对不同商品向已激活用户返还的虚拟购物币。Yoho!币可直接用于有货线上购物使用,不可转让他人,不可兑换为现金。使用YOHO币支付的金额将不计入消费金额用以计算返还金额。", | ||
627 | + "createTime": 1437546798, | ||
628 | + "id": 8, | ||
629 | + "platform": "iphone,android", | ||
630 | + "status": 1, | ||
631 | + "title": "Yoho币是什么,有什么用?", | ||
632 | + "updateTime": 1437548645 | ||
633 | + }, | ||
634 | + { | ||
635 | + "categoryId": 23, | ||
636 | + "content": "优惠券是有货线上品牌商城针对不同品牌或商品向消费者发送的虚拟券,优惠券可直接用于指定品牌或商品消费,不可转让他人,不可兑换为现金。", | ||
637 | + "createTime": 1437546819, | ||
638 | + "id": 9, | ||
639 | + "platform": "iphone,android", | ||
640 | + "status": 1, | ||
641 | + "title": "什么是优惠券?", | ||
642 | + "updateTime": 1437552970 | ||
643 | + }, | ||
644 | + { | ||
645 | + "categoryId": 13, | ||
646 | + "content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。", | ||
647 | + "createTime": 1437562767, | ||
648 | + "id": 10, | ||
649 | + "platform": "iphone,android", | ||
650 | + "status": 1, | ||
651 | + "title": "订单内容的修改", | ||
652 | + "updateTime": 0 | ||
653 | + }, | ||
654 | + { | ||
655 | + "categoryId": 13, | ||
656 | + "content": "因为网络问题,信息更新有所延迟,导致无法显示,请您保持网络顺畅情况下,重新登录进入再查看。", | ||
657 | + "createTime": 1437562792, | ||
658 | + "id": 11, | ||
659 | + "platform": "iphone,android", | ||
660 | + "status": 1, | ||
661 | + "title": "下单后看不到订单", | ||
662 | + "updateTime": 0 | ||
663 | + }, | ||
664 | + { | ||
665 | + "categoryId": 14, | ||
666 | + "content": "货到付款订单提交后为待审核状态的正常的,我们会在您成功下单后24小时内审核您的订单。", | ||
667 | + "createTime": 1437562820, | ||
668 | + "id": 12, | ||
669 | + "platform": "iphone,android", | ||
670 | + "status": 1, | ||
671 | + "title": "订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核订单还没有审核", | ||
672 | + "updateTime": 1437815593 | ||
673 | + }, | ||
674 | + { | ||
675 | + "categoryId": 13, | ||
676 | + "content": "订单生成后无法修改收货人信息,请您联系有货客服处理。", | ||
677 | + "createTime": 1437562842, | ||
678 | + "id": 13, | ||
679 | + "platform": "iphone,android", | ||
680 | + "status": 1, | ||
681 | + "title": "修改订单地址/电话", | ||
682 | + "updateTime": 0 | ||
683 | + }, | ||
684 | + { | ||
685 | + "categoryId": 13, | ||
686 | + "content": "3", | ||
687 | + "createTime": 1437566035, | ||
688 | + "id": 16, | ||
689 | + "platform": "iphone,android", | ||
690 | + "status": 1, | ||
691 | + "title": "2", | ||
692 | + "updateTime": 0 | ||
693 | + }, | ||
694 | + { | ||
695 | + "categoryId": 13, | ||
696 | + "content": "4", | ||
697 | + "createTime": 1437566047, | ||
698 | + "id": 17, | ||
699 | + "platform": "iphone,android", | ||
700 | + "status": 1, | ||
701 | + "title": "3", | ||
702 | + "updateTime": 0 | ||
703 | + }, | ||
704 | + { | ||
705 | + "categoryId": 17, | ||
706 | + "content": "测试", | ||
707 | + "createTime": 1438219772, | ||
708 | + "id": 35, | ||
709 | + "platform": "iphone,android", | ||
710 | + "status": 1, | ||
711 | + "title": "这个是常见支付的问题", | ||
712 | + "updateTime": 0 | ||
713 | + }, | ||
714 | + { | ||
715 | + "categoryId": 22, | ||
716 | + "content": "测试", | ||
717 | + "createTime": 1438219938, | ||
718 | + "id": 36, | ||
719 | + "platform": "iphone,android", | ||
720 | + "status": 1, | ||
721 | + "title": "这是yoho币的问题", | ||
722 | + "updateTime": 0 | ||
723 | + } | ||
724 | + ], | ||
725 | + "message": "Help Content List by CategoryId" | ||
726 | +} | ||
727 | +or | ||
728 | +{ | ||
729 | + "code":400 | ||
730 | + "message":"显示平台无效" | ||
731 | +} | ||
732 | +``` | ||
733 | + | ||
734 | +## 帮助列表 | ||
735 | + | ||
736 | +> 接口名:`/HelpContentRest/getHelp` | ||
737 | + | ||
738 | +### 入参 | ||
739 | +``` json | ||
740 | +{ | ||
741 | + "categoryId":13, | ||
742 | + "platform":"iphone,android" | ||
743 | +} | ||
744 | +or | ||
745 | +{ | ||
746 | + "categoryId":13, | ||
747 | +} | ||
748 | +``` | ||
749 | +------------------------- | ||
750 | +|属性名称|类型|例子|说明| | ||
751 | +|--------|----|----|----| | ||
752 | +|categoryId|int|13|分类ID| | ||
753 | +|platform|String|iphone,android|显示平台(可选)默认h5| | ||
754 | +--------------------- | ||
755 | + | ||
756 | +### 返回 | ||
757 | + | ||
758 | +``` json | ||
759 | +{ | ||
760 | + "categoryId":13, | ||
761 | + "platform":"iphone,android" | ||
762 | +} | ||
763 | +or | ||
764 | +{ | ||
765 | + "code":400 | ||
766 | + "message":"帮助分类不能为空" | ||
767 | +} | ||
768 | +``` | ||
769 | + | ||
770 | +## 帮助内容 | ||
771 | + | ||
772 | +> 接口名:`/HelpContentRest/getHelpContent` | ||
773 | + | ||
774 | +### 入参 | ||
775 | +``` json | ||
776 | +{ | ||
777 | + "id": 42 | ||
778 | +} | ||
779 | +``` | ||
780 | +------------------------- | ||
781 | +|属性名称|类型|例子|说明| | ||
782 | +|--------|----|----|----| | ||
783 | +|id|int|42|帮助内容记录ID| | ||
784 | +--------------------- | ||
785 | + | ||
786 | +### 返回 | ||
787 | + | ||
788 | +``` json | ||
789 | +{ | ||
790 | + "code": 200, | ||
791 | + "data": { | ||
792 | + "categoryId": 14, | ||
793 | + "content": "这个是物流问题", | ||
794 | + "createTime": 1449038392, | ||
795 | + "id": 42, | ||
796 | + "platform": [ | ||
797 | + "h5" | ||
798 | + ], | ||
799 | + "title": "物流问题", | ||
800 | + "updateTime": 0 | ||
801 | + }, | ||
802 | + "message": "帮助内容" | ||
803 | +} | ||
804 | +or | ||
805 | +{ | ||
806 | + "code":400 | ||
807 | + "message":"请选择要查看的帮助" | ||
808 | +} | ||
809 | +or | ||
810 | +{ | ||
811 | + "code":400 | ||
812 | + "message":"内容不存在" | ||
813 | +} | ||
814 | +``` | ||
815 | + | ||
816 | + |
-
Please register or login to post a comment