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
ddbfba5e087bc132a997429da7d1683961d715dc
1 parent
66ae377c
HelpContent02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
79 deletions
inferface-document/cms/help_content.md
inferface-document/cms/help_content.md
View file @
ddbfba5
...
...
@@ -53,128 +53,103 @@
```
## 获取查看审核详情
> 接口名: `/ShopsCheckRest/getCheckShopInfo`
## 修改帮助内容
> 接口名:`/HelpContentRest/updateHelpContent`
### 入参
```
json
```
json
{
"shopsId"
:
20
"id"
:
44
,
"title"
:
"补开发票"
,
"categoryId"
:
13
,
"platform"
:
"iphone,android,h5"
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
---------------------------
|id|int|44|帮助内容记录ID|
|title|String|补开发票|帮助标题|
|categoryId|int|13|分类ID|
|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容|
|platform|String|iphone,android|显示平台|
---------------------
### 返回
```
json
```
json
{
"code"
:
400
"message"
:
"店铺id有误"
"code"
:
200
,
"message"
:
"Update Help Content Success"
}
{
"code"
:
500
"message"
:
"暂无数据"
"code"
:
400
"message"
:
"Id is null"
}
{
"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"
"code"
:
400
"message"
:
"帮助标题不能为空"
}
```
## 审核通过
> 接口名: `/ShopsCheckRest/allowShop`
### 入参
```
json
{
"shopsId"
:
15
"code"
:
400
"message"
:
"分类ID无效"
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
---------------------------
### 返回
```
json
{
"code"
:
400
"message"
:
"
店铺信息有误
"
"message"
:
"
内容无效
"
}
{
"code"
:
500
"message"
:
"没有待审核的信息"
"code"
:
400
"message"
:
"显示平台无效"
}
{
"code"
:
500
"message"
:
"更新店铺信息失败"
}
{
"code"
:
200
"message"
:
"更新成功"
"message"
:
"Upodate Help Content Fail"
}
```
##
审核驳回
##
根据ID获得帮助内容
> 接口名:`/
ShopsCheckRest/rejectShop
`
> 接口名:`/
HelpContentRest/getHelpContentById
`
### 入参
```
json{
"shopsId":15
```
json
{
"id"
:
44
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-------------------
|id|int|44|帮助内容记录ID|
---------------------
### 返回
```
json
{
"code"
:
400
,
"message"
:
"店铺信息有误"
}
{
"code"
:
500
,
"message"
:
"没有待审核的信息"
}
```
json
{
"code"
:
500
,
"message"
:
"操作失败"
"code"
:
200
,
"data"
:
{
"categoryId"
:
13
,
"content"
:
"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。"
,
"createTime"
:
1455438073
,
"id"
:
44
,
"platform"
:
[
"iphone"
,
"android"
,
"h5"
],
"title"
:
"补开发票"
,
"updateTime"
:
1455438842
},
"message"
:
"Help Content"
}
{
"code"
:
200
,
"message"
:
"操作成功"
,
"code"
:
400
"message"
:
"Id is null"
}
```
...
...
Please
register
or
login
to post a comment