...
|
...
|
@@ -16,9 +16,8 @@ |
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|title|String|补开发票|帮助标题|
|
|
|
|categoryId|int|13|分类ID|
|
|
|
|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容|
|
|
|
|categoryName|String|订单问题|分类名称|
|
|
|
|parentId|int|0|父分类ID|
|
|
|
|platform|String|iphone,android|显示平台|
|
|
|
---------------------
|
|
|
|
...
|
...
|
@@ -52,27 +51,25 @@ or |
|
|
```
|
|
|
|
|
|
|
|
|
## 修改帮助内容
|
|
|
## 修改帮助分类
|
|
|
|
|
|
> 接口名:`/HelpContentRest/updateHelpContent`
|
|
|
> 接口名:`/HelpCategoryRest/updateHelpCategory`
|
|
|
|
|
|
### 入参
|
|
|
``` json
|
|
|
{
|
|
|
"id":44,
|
|
|
"title":"补开发票",
|
|
|
"categoryId":13,
|
|
|
"platform":"iphone,android,h5",
|
|
|
"content":"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
|
|
|
"id":46,
|
|
|
"categoryName":"订单问题2期项目",
|
|
|
"parentId":0,
|
|
|
"platform":"iphone,android"
|
|
|
}
|
|
|
```
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|44|帮助内容记录ID|
|
|
|
|title|String|补开发票|帮助标题|
|
|
|
|categoryId|int|13|分类ID|
|
|
|
|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容|
|
|
|
|id|int|46|帮助分类记录ID|
|
|
|
|categoryName|String|订单问题|分类名称|
|
|
|
|parentId|int|0|父分类ID|
|
|
|
|platform|String|iphone,android|显示平台|
|
|
|
---------------------
|
|
|
|
...
|
...
|
@@ -81,31 +78,32 @@ or |
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "Update Help Content Success"
|
|
|
"message": "Update Help Category Success"
|
|
|
}
|
|
|
or
|
|
|
{
|
|
|
"code":400
|
|
|
"message":"Id is null"
|
|
|
}
|
|
|
or
|
|
|
{
|
|
|
"code":400
|
|
|
"message":"帮助标题不能为空"
|
|
|
"message":"分类名称不能为空"
|
|
|
}
|
|
|
or
|
|
|
{
|
|
|
"code":400
|
|
|
"message":"分类ID无效"
|
|
|
}
|
|
|
{
|
|
|
"code":400
|
|
|
"message":"内容无效"
|
|
|
}
|
|
|
or
|
|
|
{
|
|
|
"code":400
|
|
|
"message":"显示平台无效"
|
|
|
}
|
|
|
or
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"Upodate Help Content Fail"
|
|
|
"message":"Update Help Category Fail"
|
|
|
}
|
|
|
```
|
|
|
|
...
|
...
|
|