Showing
1 changed file
with
56 additions
and
7 deletions
@@ -550,12 +550,57 @@ or | @@ -550,12 +550,57 @@ or | ||
550 | } | 550 | } |
551 | ``` | 551 | ``` |
552 | 552 | ||
553 | -## 获取帮助内容总记录数 | 553 | +## 删除帮助分类 |
554 | 554 | ||
555 | -> 接口名:`/HelpCategoryRest/getHelpContentCount` | 555 | +> 接口名:`/HelpCategoryRest/deleteHelpCategory` |
556 | 556 | ||
557 | ### 入参 | 557 | ### 入参 |
558 | -无 | 558 | +``` json |
559 | +{ | ||
560 | + "id":12, | ||
561 | + "parentId": 12 | ||
562 | +} | ||
563 | +``` | ||
564 | +------------------------- | ||
565 | +|属性名称|类型|例子|说明| | ||
566 | +|--------|----|----|----| | ||
567 | +|id|int|47|帮助内容记录ID| | ||
568 | +|parentId|int|12|父分类ID| | ||
569 | +--------------------- | ||
570 | + | ||
571 | +### 返回 | ||
572 | + | ||
573 | +``` json | ||
574 | +{ | ||
575 | + "code": 200, | ||
576 | + "message": "删除成功" | ||
577 | +} | ||
578 | +or | ||
579 | +{ | ||
580 | + "code": 400, | ||
581 | + "message": "Id is null" | ||
582 | +} | ||
583 | +or | ||
584 | +{ | ||
585 | + "code": 500, | ||
586 | + "message": "删除失败" | ||
587 | +} | ||
588 | +``` | ||
589 | + | ||
590 | +## 根据parentId删除其分类下的id | ||
591 | + | ||
592 | +> 接口名:`/HelpCategoryRest/deleteCategories` | ||
593 | + | ||
594 | +### 入参 | ||
595 | +``` json | ||
596 | +{ | ||
597 | + "parentId": 12 | ||
598 | +} | ||
599 | +``` | ||
600 | +------------------------- | ||
601 | +|属性名称|类型|例子|说明| | ||
602 | +|--------|----|----|----| | ||
603 | +|parentId|int|12|父分类ID| | ||
559 | --------------------- | 604 | --------------------- |
560 | 605 | ||
561 | ### 返回 | 606 | ### 返回 |
@@ -563,14 +608,18 @@ or | @@ -563,14 +608,18 @@ or | ||
563 | ``` json | 608 | ``` json |
564 | { | 609 | { |
565 | "code": 200, | 610 | "code": 200, |
566 | - "data": 22, | ||
567 | - "message": "成功" | 611 | + "message": "删除成功" |
612 | +} | ||
613 | +or | ||
614 | +{ | ||
615 | + "code": 500, | ||
616 | + "message": "删除失败" | ||
568 | } | 617 | } |
569 | ``` | 618 | ``` |
570 | 619 | ||
571 | -## 根据分类ID查帮助内容 | 620 | +## 帮助分类 |
572 | 621 | ||
573 | -> 接口名:`/HelpCategoryRest/getHelpContentByCategoryId` | 622 | +> 接口名:`/HelpCategoryRest/getCategory` |
574 | 623 | ||
575 | ### 入参 | 624 | ### 入参 |
576 | ``` json | 625 | ``` json |
-
Please register or login to post a comment