Toggle navigation
Toggle navigation
This project
Loading...
Sign in
michaelcao
/
yohobuy-doc
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qianjun
9 years ago
Commit
89ded8774954ae045d46c3fb8d80562137101635
1 parent
ddbfba5e
helpcontent004
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
276 additions
and
0 deletions
inferface-document/cms/help_content.md
inferface-document/cms/help_content.md
View file @
89ded87
...
...
@@ -151,5 +151,281 @@
"message"
:
"Id is null"
}
```
## 获取所有帮助内容
> 接口名:`/HelpContentRest/getAllHelpContent`
### 入参
```
json
{
"categoryId"
:
13
,
"platform"
:
"iphone,android"
}
or
{
"categoryId"
:
13
,
}
or
{
"platform"
:
"iphone,android"
}
or
{
}
```
注意:如果不传入参数,必须传入
`{}`
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|categoryId|int|13|分类ID(可选)|
|platform|String|iphone,android|显示平台(可选)|
---------------------
### 返回
```
json
{
"code"
:
200
,
"data"
:
[
{
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"createTime"
:
1455438073
,
"id"
:
44
,
"platform"
:
"iphone,android,h5"
,
"status"
:
1
,
"title"
:
"补开发票"
,
"updateTime"
:
1455438842
},
{
"categoryId"
:
13
,
"content"
:
"4"
,
"createTime"
:
1437566047
,
"id"
:
17
,
"platform"
:
"iphone,android"
,
"status"
:
1
,
"title"
:
"3"
,
"updateTime"
:
0
},
{
"categoryId"
:
13
,
"content"
:
"3"
,
"createTime"
:
1437566035
,
"id"
:
16
,
"platform"
:
"iphone,android"
,
"status"
:
1
,
"title"
:
"2"
,
"updateTime"
:
0
},
{
"categoryId"
:
13
,
"content"
:
"订单生成后无法修改收货人信息,请您联系有货客服处理。"
,
"createTime"
:
1437562842
,
"id"
:
13
,
"platform"
:
"iphone,android"
,
"status"
:
1
,
"title"
:
"修改订单地址/电话"
,
"updateTime"
:
0
},
{
"categoryId"
:
13
,
"content"
:
"因为网络问题,信息更新有所延迟,导致无法显示,请您保持网络顺畅情况下,重新登录进入再查看。"
,
"createTime"
:
1437562792
,
"id"
:
11
,
"platform"
:
"iphone,android"
,
"status"
:
1
,
"title"
:
"下单后看不到订单"
,
"updateTime"
:
0
},
{
"categoryId"
:
13
,
"content"
:
"目前暂不支持订单修改功能,请您联系有货客服为您处理。"
,
"createTime"
:
1437562767
,
"id"
:
10
,
"platform"
:
"iphone,android"
,
"status"
:
1
,
"title"
:
"订单内容的修改"
,
"updateTime"
:
0
},
{
"categoryId"
:
13
,
"content"
:
"在线支付订单未付款2小时内会自动取消,付款成功后需联系有货客服取消订单,货到付款订单未发货前可以进入“我的订单”自行取消订单。"
,
"createTime"
:
1437545220
,
"id"
:
1
,
"platform"
:
"iphone,android"
,
"status"
:
1
,
"title"
:
"取消订单"
,
"updateTime"
:
1437548510
}
],
"message"
:
"All Help Content Platform List"
}
```
## 根据ID获得帮助内容
> 接口名:`/HelpContentRest/getHelpContentById`
### 入参
```
json
{
"id"
:
44
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|44|帮助内容记录ID|
---------------------
### 返回
```
json
{
"code"
:
200
,
"data"
:
{
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"createTime"
:
1455438073
,
"id"
:
44
,
"platform"
:
[
"iphone"
,
"android"
,
"h5"
],
"title"
:
"补开发票"
,
"updateTime"
:
1455438842
},
"message"
:
"Help Content"
}
{
"code"
:
400
"message"
:
"Id is null"
}
```
## 根据ID获得帮助内容
> 接口名:`/HelpContentRest/getHelpContentById`
### 入参
```
json
{
"id"
:
44
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|44|帮助内容记录ID|
---------------------
### 返回
```
json
{
"code"
:
200
,
"data"
:
{
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"createTime"
:
1455438073
,
"id"
:
44
,
"platform"
:
[
"iphone"
,
"android"
,
"h5"
],
"title"
:
"补开发票"
,
"updateTime"
:
1455438842
},
"message"
:
"Help Content"
}
{
"code"
:
400
"message"
:
"Id is null"
}
```
## 根据ID获得帮助内容
> 接口名:`/HelpContentRest/getHelpContentById`
### 入参
```
json
{
"id"
:
44
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|44|帮助内容记录ID|
---------------------
### 返回
```
json
{
"code"
:
200
,
"data"
:
{
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"createTime"
:
1455438073
,
"id"
:
44
,
"platform"
:
[
"iphone"
,
"android"
,
"h5"
],
"title"
:
"补开发票"
,
"updateTime"
:
1455438842
},
"message"
:
"Help Content"
}
{
"code"
:
400
"message"
:
"Id is null"
}
```
## 根据ID获得帮助内容
> 接口名:`/HelpContentRest/getHelpContentById`
### 入参
```
json
{
"id"
:
44
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|44|帮助内容记录ID|
---------------------
### 返回
```
json
{
"code"
:
200
,
"data"
:
{
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"createTime"
:
1455438073
,
"id"
:
44
,
"platform"
:
[
"iphone"
,
"android"
,
"h5"
],
"title"
:
"补开发票"
,
"updateTime"
:
1455438842
},
"message"
:
"Help Content"
}
{
"code"
:
400
"message"
:
"Id is null"
}
```
...
...
Please
register
or
login
to post a comment