Authored by qianjun

HelpContent01

# 帮助内容接口服务定义
---------------------
## 添加帮助内容
> 接口名:`/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":"操作成功",
}
```
... ...