...
|
...
|
@@ -7,20 +7,47 @@ |
|
|
|
|
|
### 入参
|
|
|
```json
|
|
|
|
|
|
|
|
|
//店铺创建列表
|
|
|
{
|
|
|
"page":1,//可选
|
|
|
"size":10,//可选
|
|
|
"supplierId":0,//可选
|
|
|
"brandId":0,//可选
|
|
|
"checkStatus":0,//可选
|
|
|
"operationStatus":1,
|
|
|
"checkStatusArr":"100,200,900"
|
|
|
}
|
|
|
|
|
|
//店铺信息管理列表
|
|
|
{
|
|
|
"page":1,//可选
|
|
|
"size":10,//可选
|
|
|
"supplierId":0,//可选
|
|
|
"brandId":0,//可选
|
|
|
"checkStatus":0,//可选
|
|
|
"operationStatus":2,
|
|
|
"checkStatusArr":"200,300,900"
|
|
|
}
|
|
|
/Data/logs/union
|
|
|
|
|
|
//店铺审核列表
|
|
|
{
|
|
|
"page":2,
|
|
|
"size":12,
|
|
|
"supplierId":950,
|
|
|
"brandId":928,
|
|
|
"checkStatus":100,
|
|
|
"operationStatus":1,
|
|
|
"checkStatusArr":"100,200,900"
|
|
|
"page":1,//可选
|
|
|
"size":10,//可选
|
|
|
"supplierId":0,//可选
|
|
|
"brandId":0,//可选
|
|
|
"checkStatus":200,
|
|
|
"operationStatus":0,
|
|
|
"checkStatusArr":"200"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|page|int|2|第几页|
|
|
|
|page|int|1|第几页|
|
|
|
|size|int|50|每页条数|
|
|
|
|supplierId|int|950|供应商ID|
|
|
|
|brandId|int|928|品牌ID|
|
...
|
...
|
@@ -39,23 +66,50 @@ |
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"checkStatus": 200,
|
|
|
"createTime": "2015-11-27 15:45:19",
|
|
|
"shopName": "Case Scenario",
|
|
|
"checkStatus": 900,
|
|
|
"createTime": "2016-02-26",
|
|
|
"shopName": "预生产",
|
|
|
"shopNature": 0,
|
|
|
"shopRelationList": [
|
|
|
{
|
|
|
"brandId": 409,
|
|
|
"brandName": "Case Scenario",
|
|
|
"brandNameCn": "",
|
|
|
"brandNameEn": "Case Scenario",
|
|
|
"agreementEndTime": 0,
|
|
|
"brandId": 1499,
|
|
|
"brandName": "标哥",
|
|
|
"brandNameEn": "标哥",
|
|
|
"brandStatus": 1,
|
|
|
"id": 1,
|
|
|
"status": 0,
|
|
|
"supplierId": 0,
|
|
|
"supplierStatus": 0
|
|
|
}
|
|
|
],
|
|
|
"shopsId": 582,
|
|
|
"shopsType": 0,
|
|
|
"status": 0,
|
|
|
"updateTime": "2016-02-26"
|
|
|
},
|
|
|
{
|
|
|
"checkStatus": 900,
|
|
|
"createTime": "2016-02-25",
|
|
|
"shopName": "店铺123abc",
|
|
|
"shopNature": 0,
|
|
|
"shopRelationList": [
|
|
|
{
|
|
|
"agreementEndTime": 0,
|
|
|
"brandId": 1492,
|
|
|
"brandName": "茶",
|
|
|
"brandNameEn": "C",
|
|
|
"brandStatus": 0,
|
|
|
"id": 2,
|
|
|
"status": 0,
|
|
|
"supplierId": 0,
|
|
|
"supplierStatus": 0
|
|
|
}
|
|
|
],
|
|
|
"shopsId": 31,
|
|
|
"status": 1,
|
|
|
"updateTime": "2015-12-08 19:20:44"
|
|
|
"shopsId": 571,
|
|
|
"shopsType": 0,
|
|
|
"status": 0,
|
|
|
"updateTime": "2016-02-25"
|
|
|
}
|
|
|
],
|
|
|
"page": 1,
|
...
|
...
|
@@ -71,7 +125,13 @@ |
|
|
|
|
|
## 获取店铺详情
|
|
|
|
|
|
> 接口名: `/ShopsRest/getShopDetailById`
|
|
|
> 接口名:
|
|
|
|
|
|
创建店铺的列表中,点击详情和编辑的url:/ShopsRest/getShopDetailById 查询的是check表
|
|
|
审核店铺的列表中,点击详情和编辑的url:/ShopsRest/getShopDetailById 查询的是check表
|
|
|
店铺信息管理列表中,点查看的url:/ShopsCheckRest/getLastCheckShopInfoById 查询的是店铺表,该表的数据是已经审核通过的或者是曾经审核通过的数据
|
|
|
店铺信息管理列表中,点编辑的url:/ShopsRest/getShopDetailById 查询的是check表
|
|
|
|
|
|
|
|
|
### 入参
|
|
|
|
...
|
...
|
@@ -181,13 +241,19 @@ shopRelation的json格式为: |
|
|
|
|
|
"shopRelation":[
|
|
|
{
|
|
|
"method":"add",
|
|
|
"brandId":355,
|
|
|
"brandName":"TMCAZ",
|
|
|
"supplierId":310,
|
|
|
"supplierName":"上海贺王工贸实业公司",
|
|
|
"agreementEndTime":1485792000
|
|
|
},
|
|
|
{
|
|
|
"method":"add",
|
|
|
"brandId":1389,
|
|
|
"brandName":"WWTorres",
|
|
|
"supplierId":1226,
|
|
|
"supplierName":"上海矩乐文化发展有限公司",
|
|
|
"agreementEndTime":1482076800
|
|
|
}
|
|
|
]
|
...
|
...
|
@@ -234,18 +300,30 @@ shopRelation的json格式为: |
|
|
|
|
|
"shopRelation":[
|
|
|
{
|
|
|
""id":1,"
|
|
|
"id":737,
|
|
|
"method":"delete",
|
|
|
"brandId":355,
|
|
|
"brandName":"TMCAZ",
|
|
|
"supplierId":310,
|
|
|
"agreementEndTime":1485792000,
|
|
|
"method":"delete"
|
|
|
"supplierName":"上海贺王工贸实业公司",
|
|
|
"agreementEndTime":1485792000
|
|
|
},
|
|
|
{
|
|
|
"id":2,
|
|
|
"id":738,
|
|
|
"method":"",
|
|
|
"brandId":1389,
|
|
|
"brandName":"WWTorres",
|
|
|
"supplierId":1226,
|
|
|
"agreementEndTime":1482076800,
|
|
|
"method":"add"
|
|
|
"supplierName":"上海矩乐文化发展有限公司",
|
|
|
"agreementEndTime":1482076800
|
|
|
},
|
|
|
{
|
|
|
"method":"add",
|
|
|
"brandId":1480,
|
|
|
"brandName":"满了",
|
|
|
"supplierId":1348,
|
|
|
"supplierName":"满了吧",
|
|
|
"agreementEndTime":1482076800
|
|
|
}
|
|
|
]
|
|
|
```
|
...
|
...
|
|