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
66ae377cc6f054a51987e3c9e7b96d477721bae4
1 parent
da8d9a88
HelpContent01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
180 additions
and
0 deletions
inferface-document/cms/help_content.md
inferface-document/cms/help_content.md
0 → 100644
View file @
66ae377
# 帮助内容接口服务定义
---------------------
## 添加帮助内容
> 接口名:`/HelpContentRest/addHelpContent`
### 入参
```
json
{
"title"
:
"补开发票"
,
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"platform"
:
"iphone,android"
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|title|String|补开发票|帮助标题|
|categoryId|int|13|分类ID|
|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容|
|platform|String|iphone,android|显示平台|
---------------------
### 返回
```
json
{
"code"
:
200
,
"message"
:
"Add Help Content Success"
}
{
"code"
:
400
"message"
:
"帮助标题不能为空"
}
{
"code"
:
400
"message"
:
"分类ID无效"
}
{
"code"
:
400
"message"
:
"内容无效"
}
{
"code"
:
400
"message"
:
"显示平台无效"
}
{
"code"
:
500
"message"
:
"Add Help Content Fail"
}
```
## 获取查看审核详情
> 接口名: `/ShopsCheckRest/getCheckShopInfo`
### 入参
```
json
{
"shopsId"
:
20
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
---------------------------
### 返回
```
json
{
"code"
:
400
"message"
:
"店铺id有误"
}
{
"code"
:
500
"message"
:
"暂无数据"
}
{
"code"
:
200
,
"data"
:
{
"createPid"
:
1
,
"createTime"
:
1454205517
,
"examineStatus"
:
0
,
"isRead"
:
1
,
"operationStatus"
:
1
,
"otherUrl"
:
""
,
"shopAddress"
:
""
,
"shopDomain"
:
"debao"
,
"shopIntro"
:
""
,
"shopLogo"
:
""
,
"shopName"
:
"得宝旗舰店"
,
"shopNature"
:
0
,
"shopRelation"
:
"[{\"agreementEndTime\":1485792000,\"brandId\":355,\"method\":\"add\",\"supplierId\":310},{\"agreementEndTime\":1459353600,\"brandId\":178,\"method\":\"del\",\"supplierId\":480}]"
,
"shopsId"
:
15
,
"shopsType"
:
1
,
"status"
:
0
,
"updateTime"
:
1454205517
,
"websiteUrl"
:
""
},
"message"
:
"ok"
}
```
## 审核通过
> 接口名: `/ShopsCheckRest/allowShop`
### 入参
```
json
{
"shopsId"
:
15
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
---------------------------
### 返回
```
json
{
"code"
:
400
"message"
:
"店铺信息有误"
}
{
"code"
:
500
"message"
:
"没有待审核的信息"
}
{
"code"
:
500
"message"
:
"更新店铺信息失败"
}
{
"code"
:
200
"message"
:
"更新成功"
}
```
## 审核驳回
> 接口名:`/ShopsCheckRest/rejectShop`
### 入参
```
json{
"shopsId":15
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-------------------
### 返回
```
json
{
"code"
:
400
,
"message"
:
"店铺信息有误"
}
{
"code"
:
500
,
"message"
:
"没有待审核的信息"
}
{
"code"
:
500
,
"message"
:
"操作失败"
}
{
"code"
:
200
,
"message"
:
"操作成功"
,
}
```
...
...
Please
register
or
login
to post a comment