Authored by qianjun

shops001

... ... @@ -3,10 +3,30 @@
## 添加店铺审核
> 接口名:`/shops/addCheckShop`
> 接口名:`/shops/ShopsCheckRest/addCheckShop`
### 入参
``` json
{
"shopsId":15,
"shopName":"得宝旗舰店",
"shopNature":1,
"shopDomain":"debao",
"shopRelation":[{
"brandId":355,
"supplierId":310,
"agreementEndTime":1485792000,
"method":"add"
},
{
"brandId":178,
"supplierId":480,
"agreementEndTime":1459353600,
"method":"del"
}],
"createPid":"1"
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
... ... @@ -25,6 +45,34 @@
|status|int|0|状态(1 开启 0 关闭)|
|createTime|int|1441936854|添加时间|
|updateTime|int|1442312299|修改时间|
注意:入参中`shopRelation`的json格式,如下:
```javascript
[{
"brandId":355,
"supplierId":310,
"agreementEndTime":1485792000,
"method":"add"
},
{
"brandId":178,
"supplierId":480,
"agreementEndTime":1459353600,
"method":"del"
}]
```
`websiteUrl`的json格式,如下:
```javascript
["网址1","网址2"]
```
`otherUrl`的json格式,如下:
```javascript
["网址1","网址2"]
```
`shopAddress`的json格式,如下:
```javascript
["地址1","地址2"]
```
---------------------
### 返回
... ... @@ -32,11 +80,31 @@
``` json
{
"code":400
"message":"店铺已经在审核中"
"message":"shopsId is required"
}
{
"code":500
"message":"操作成功"
"code":400
"message":"shopName is required"
}
{
"code":400
"message":"shopNature is required"
}
{
"code":400
"message":"shopDomain is required"
}
{
"code":400
"message":"shopRelation is required"
}
{
"code":400
"message":"createPid is required"
}
{
"code":400
"message":"店铺已经在审核中"
}
{
"code":200
... ...