...
|
...
|
@@ -53,7 +53,7 @@ shopRelation的json格式为: |
|
|
|
|
|
|
|
|
## 获取店铺列表
|
|
|
> 接口名: `/shops/getShopList`
|
|
|
> 接口名: `/ShopsRest/getShopList`
|
|
|
|
|
|
### 入参
|
|
|
|
...
|
...
|
@@ -62,82 +62,48 @@ shopRelation的json格式为: |
|
|
|--------|----|----|----|
|
|
|
|page|int|2|第几页|
|
|
|
|size|int|50|每页条数|
|
|
|
|shopsId|int|15|店铺ID|
|
|
|
|shopName|String|得宝旗舰店|店铺名称|
|
|
|
|shopNature|int|1|店铺性质(1 旗舰店 2 专卖店)|
|
|
|
|status|int|1|状态(1开启 0 关闭)|
|
|
|
|checkStatus|int|300|审核状态(100 暂存 200 待审核 300 审核通过 900 驳回)|
|
|
|
|supplierId|int|950|供应商ID|
|
|
|
|brandId|int|928|品牌ID|
|
|
|
|checkStatus|int|928|审核状态;100 暂存 200 待审核 300 审核通过 900 驳回|
|
|
|
|operationStatus|int|1|操作状态; 1 店铺未创建 2 店铺已创建|
|
|
|
|checkStatusArr|String|200,300|必须包含的状态|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
```json
|
|
|
|
|
|
{
|
|
|
"code":200
|
|
|
"message":"ok"
|
|
|
"data":
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"page":1,
|
|
|
"totalPage": 10,
|
|
|
"total": 100
|
|
|
"size": 10,
|
|
|
"list":
|
|
|
"checkStatus": 200,
|
|
|
"createTime": "2015-11-27 15:45:19",
|
|
|
"shopName": "Case Scenario",
|
|
|
"shopRelationList": [
|
|
|
{
|
|
|
"shopsId": 15,
|
|
|
"shopName": "",
|
|
|
"shopDomain": "",
|
|
|
"shopNature": "",
|
|
|
"shopLogo": "",
|
|
|
"websiteUrl": "",
|
|
|
"shopAddress": "",
|
|
|
"createPid": "",
|
|
|
"checkStatus": "",
|
|
|
"createTime": "",
|
|
|
"updateTime": "",
|
|
|
"status": "",
|
|
|
"shopsAdmin": {
|
|
|
"id": "",
|
|
|
"shopsId": "",
|
|
|
"adminPid": "",
|
|
|
"identity": "",
|
|
|
"createTime": "",
|
|
|
"updateTime": ""
|
|
|
},
|
|
|
"shopsBrandList": [{
|
|
|
"id": "",
|
|
|
"shopsId": "",
|
|
|
"brandId": "",
|
|
|
"supplierId": "",
|
|
|
"createTime": "",
|
|
|
"updateTime": "",
|
|
|
"agreementEndTime": ""
|
|
|
},{
|
|
|
"id": "",
|
|
|
"shopsId": "",
|
|
|
"brandId": "",
|
|
|
"supplierId": "",
|
|
|
"createTime": "",
|
|
|
"updateTime": "",
|
|
|
"agreementEndTime": ""
|
|
|
}],
|
|
|
"shopsSupplierList": [{
|
|
|
"id": "",
|
|
|
"shopsId": "",
|
|
|
"brandId": "",
|
|
|
"brandName": "",
|
|
|
"agreementEndTime": ""
|
|
|
},{
|
|
|
"id": "",
|
|
|
"shopsId": "",
|
|
|
"brandId": "",
|
|
|
"brandName": "",
|
|
|
"agreementEndTime": ""
|
|
|
}]
|
|
|
"brandId": 409,
|
|
|
"brandName": "Case Scenario",
|
|
|
"brandNameCn": "",
|
|
|
"brandNameEn": "Case Scenario",
|
|
|
"brandStatus": 1,
|
|
|
"supplierId": 0,
|
|
|
"supplierStatus": 0
|
|
|
}
|
|
|
],
|
|
|
"shopsId": 31,
|
|
|
"status": 1,
|
|
|
"updateTime": "2015-12-08 19:20:44"
|
|
|
}
|
|
|
],
|
|
|
"page": 1,
|
|
|
"size": 10,
|
|
|
"total": 79,
|
|
|
"totalPage": 8
|
|
|
},
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
...
|
...
|
|