Showing
1 changed file
with
113 additions
and
37 deletions
@@ -260,9 +260,9 @@ or | @@ -260,9 +260,9 @@ or | ||
260 | "message": "All Help Content Platform List" | 260 | "message": "All Help Content Platform List" |
261 | } | 261 | } |
262 | ``` | 262 | ``` |
263 | -## 根据ID获得帮助内容 | 263 | +## 删除帮助内容 |
264 | 264 | ||
265 | -> 接口名:`/HelpContentRest/getHelpContentById` | 265 | +> 接口名:`/HelpContentRest/deleteHelpContent` |
266 | 266 | ||
267 | ### 入参 | 267 | ### 入参 |
268 | ``` json | 268 | ``` json |
@@ -281,41 +281,36 @@ or | @@ -281,41 +281,36 @@ or | ||
281 | ``` json | 281 | ``` json |
282 | { | 282 | { |
283 | "code": 200, | 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" | 284 | + "message": "删除成功" |
298 | } | 285 | } |
286 | +or | ||
299 | { | 287 | { |
300 | - "code":400 | ||
301 | - "message":"Id is null" | 288 | + "code": 400, |
289 | + "message": "Id is null" | ||
290 | +} | ||
291 | +or | ||
292 | +{ | ||
293 | + "code": 500, | ||
294 | + "message": "删除失败" | ||
302 | } | 295 | } |
303 | ``` | 296 | ``` |
304 | 297 | ||
305 | -## 根据ID获得帮助内容 | 298 | +## 分页显示帮助内容 |
306 | 299 | ||
307 | -> 接口名:`/HelpContentRest/getHelpContentById` | 300 | +> 接口名:`/HelpContentRest/getHelpContentList` |
308 | 301 | ||
309 | ### 入参 | 302 | ### 入参 |
310 | ``` json | 303 | ``` json |
311 | { | 304 | { |
312 | - "id":44 | 305 | + "page":2, |
306 | + "size":12 | ||
313 | } | 307 | } |
314 | ``` | 308 | ``` |
315 | ------------------------- | 309 | ------------------------- |
316 | |属性名称|类型|例子|说明| | 310 | |属性名称|类型|例子|说明| |
317 | |--------|----|----|----| | 311 | |--------|----|----|----| |
318 | -|id|int|44|帮助内容记录ID| | 312 | +|page|int|2|第几页(可选) 默认为1| |
313 | +|size|int|12|每页条数(可选)默认为10| | ||
319 | --------------------- | 314 | --------------------- |
320 | 315 | ||
321 | ### 返回 | 316 | ### 返回 |
@@ -324,23 +319,104 @@ or | @@ -324,23 +319,104 @@ or | ||
324 | { | 319 | { |
325 | "code": 200, | 320 | "code": 200, |
326 | "data": { | 321 | "data": { |
327 | - "categoryId": 13, | ||
328 | - "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
329 | - "createTime": 1455438073, | ||
330 | - "id": 44, | ||
331 | - "platform": [ | ||
332 | - "iphone", | ||
333 | - "android", | ||
334 | - "h5" | 322 | + "list": [ |
323 | + { | ||
324 | + "categoryId": 0, | ||
325 | + "content": "目前暂不支持订单修改功能,请您联系有货客服为您处理。", | ||
326 | + "createTime": 0, | ||
327 | + "id": 0, | ||
328 | + "platform": "iphone,android", | ||
329 | + "title": "订单内容的修改", | ||
330 | + "updateTime": 0 | ||
331 | + }, | ||
332 | + { | ||
333 | + "categoryId": 0, | ||
334 | + "content": "优惠券是有货线上品牌商城针对不同品牌或商品向消费者发送的虚拟券,优惠券可直接用于指定品牌或商品消费,不可转让他人,不可兑换为现金。", | ||
335 | + "createTime": 0, | ||
336 | + "id": 0, | ||
337 | + "platform": "iphone,android", | ||
338 | + "title": "什么是优惠券?", | ||
339 | + "updateTime": 0 | ||
340 | + }, | ||
341 | + { | ||
342 | + "categoryId": 0, | ||
343 | + "content": "Yoho币是有货商城全场针对不同商品向已激活用户返还的虚拟购物币。Yoho!币可直接用于有货线上购物使用,不可转让他人,不可兑换为现金。使用YOHO币支付的金额将不计入消费金额用以计算返还金额。", | ||
344 | + "createTime": 0, | ||
345 | + "id": 0, | ||
346 | + "platform": "iphone,android", | ||
347 | + "title": "Yoho币是什么,有什么用?", | ||
348 | + "updateTime": 0 | ||
349 | + }, | ||
350 | + { | ||
351 | + "categoryId": 0, | ||
352 | + "content": "银卡会员需年度累计消费满600元,金卡会员需年度累计消费满2000元,白金会员需年度累计消费满5000元。年度指连续的365天内(数字年),而非2011,2012这样的自然年。", | ||
353 | + "createTime": 0, | ||
354 | + "id": 0, | ||
355 | + "platform": "iphone,android", | ||
356 | + "title": "消费多少可以成为银卡会员、金卡会员、白金会员?", | ||
357 | + "updateTime": 0 | ||
358 | + }, | ||
359 | + { | ||
360 | + "categoryId": 0, | ||
361 | + "content": "您可进入“我的订单”,点击”确认收货”后,申请退换货,按页面提示填写相关信息,提交申请。我们会在24小时内以短信或电话的方式告知您审核结果,审核通过后,请您将商品连同发货单一并寄回,请您寄回时不要选择平邮或到付。", | ||
362 | + "createTime": 0, | ||
363 | + "id": 0, | ||
364 | + "platform": "iphone,android", | ||
365 | + "title": "如何办理退换货", | ||
366 | + "updateTime": 0 | ||
367 | + }, | ||
368 | + { | ||
369 | + "categoryId": 0, | ||
370 | + "content": "有货与配送公司签订先验货后签收协议,请在配送人员还在场的情况下,当面验收您的商品,货到付款订单可以开箱验货但是未签收情况下不能试穿。", | ||
371 | + "createTime": 0, | ||
372 | + "id": 0, | ||
373 | + "platform": "iphone,android", | ||
374 | + "title": "可以开箱验货吗", | ||
375 | + "updateTime": 0 | ||
376 | + }, | ||
377 | + { | ||
378 | + "categoryId": 0, | ||
379 | + "content": "浦发,深发,民生等银行只要客户设了密码,都是不可以进行交易的;工,农,建等全国性银行中,只有工行肯定是不能交易,别的银行是可以的。如在支付中有任何疑问,请联系有货客服为您处理", | ||
380 | + "createTime": 0, | ||
381 | + "id": 0, | ||
382 | + "platform": "iphone,android", | ||
383 | + "title": "为什么信用卡无法支付", | ||
384 | + "updateTime": 0 | ||
385 | + }, | ||
386 | + { | ||
387 | + "categoryId": 0, | ||
388 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
389 | + "createTime": 0, | ||
390 | + "id": 0, | ||
391 | + "platform": "iphone,android", | ||
392 | + "title": "补开发票", | ||
393 | + "updateTime": 0 | ||
394 | + }, | ||
395 | + { | ||
396 | + "categoryId": 0, | ||
397 | + "content": "您可进入“我的订单”中查询订单状态,有货会在订单审核通过后24小时内为您发出包裹。(温馨提示:预售商品发货时间以商品页面标注为准)。", | ||
398 | + "createTime": 0, | ||
399 | + "id": 0, | ||
400 | + "platform": "iphone,android", | ||
401 | + "title": "发货时间", | ||
402 | + "updateTime": 0 | ||
403 | + }, | ||
404 | + { | ||
405 | + "categoryId": 0, | ||
406 | + "content": "在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。", | ||
407 | + "createTime": 0, | ||
408 | + "id": 0, | ||
409 | + "platform": "iphone,android", | ||
410 | + "title": "取消订单", | ||
411 | + "updateTime": 0 | ||
412 | + } | ||
335 | ], | 413 | ], |
336 | - "title": "补开发票", | ||
337 | - "updateTime": 1455438842 | 414 | + "page": 2, |
415 | + "size": 12, | ||
416 | + "total": 0, | ||
417 | + "totalPage": 0 | ||
338 | }, | 418 | }, |
339 | - "message": "Help Content" | ||
340 | -} | ||
341 | -{ | ||
342 | - "code":400 | ||
343 | - "message":"Id is null" | 419 | + "message": "Help Content List" |
344 | } | 420 | } |
345 | ``` | 421 | ``` |
346 | 422 |
-
Please register or login to post a comment