Showing
1 changed file
with
34 additions
and
68 deletions
@@ -53,7 +53,7 @@ shopRelation的json格式为: | @@ -53,7 +53,7 @@ shopRelation的json格式为: | ||
53 | 53 | ||
54 | 54 | ||
55 | ## 获取店铺列表 | 55 | ## 获取店铺列表 |
56 | -> 接口名: `/shops/getShopList` | 56 | +> 接口名: `/ShopsRest/getShopList` |
57 | 57 | ||
58 | ### 入参 | 58 | ### 入参 |
59 | 59 | ||
@@ -62,82 +62,48 @@ shopRelation的json格式为: | @@ -62,82 +62,48 @@ shopRelation的json格式为: | ||
62 | |--------|----|----|----| | 62 | |--------|----|----|----| |
63 | |page|int|2|第几页| | 63 | |page|int|2|第几页| |
64 | |size|int|50|每页条数| | 64 | |size|int|50|每页条数| |
65 | -|shopsId|int|15|店铺ID| | ||
66 | -|shopName|String|得宝旗舰店|店铺名称| | ||
67 | -|shopNature|int|1|店铺性质(1 旗舰店 2 专卖店)| | ||
68 | -|status|int|1|状态(1开启 0 关闭)| | ||
69 | -|checkStatus|int|300|审核状态(100 暂存 200 待审核 300 审核通过 900 驳回)| | ||
70 | |supplierId|int|950|供应商ID| | 65 | |supplierId|int|950|供应商ID| |
71 | |brandId|int|928|品牌ID| | 66 | |brandId|int|928|品牌ID| |
67 | +|checkStatus|int|928|审核状态;100 暂存 200 待审核 300 审核通过 900 驳回| | ||
68 | +|operationStatus|int|1|操作状态; 1 店铺未创建 2 店铺已创建| | ||
69 | +|checkStatusArr|String|200,300|必须包含的状态| | ||
72 | --------------------------- | 70 | --------------------------- |
73 | 71 | ||
72 | + | ||
74 | ### 返回 | 73 | ### 返回 |
75 | 74 | ||
76 | ```json | 75 | ```json |
77 | 76 | ||
78 | { | 77 | { |
79 | - "code":200 | ||
80 | - "message":"ok" | ||
81 | - "data": | ||
82 | - { | ||
83 | - "page":1, | ||
84 | - "totalPage": 10, | ||
85 | - "total": 100 | ||
86 | - "size": 10, | ||
87 | - "list": | ||
88 | - { | ||
89 | - "shopsId": 15, | ||
90 | - "shopName": "", | ||
91 | - "shopDomain": "", | ||
92 | - "shopNature": "", | ||
93 | - "shopLogo": "", | ||
94 | - "websiteUrl": "", | ||
95 | - "shopAddress": "", | ||
96 | - "createPid": "", | ||
97 | - "checkStatus": "", | ||
98 | - "createTime": "", | ||
99 | - "updateTime": "", | ||
100 | - "status": "", | ||
101 | - "shopsAdmin": { | ||
102 | - "id": "", | ||
103 | - "shopsId": "", | ||
104 | - "adminPid": "", | ||
105 | - "identity": "", | ||
106 | - "createTime": "", | ||
107 | - "updateTime": "" | ||
108 | - }, | ||
109 | - "shopsBrandList": [{ | ||
110 | - "id": "", | ||
111 | - "shopsId": "", | ||
112 | - "brandId": "", | ||
113 | - "supplierId": "", | ||
114 | - "createTime": "", | ||
115 | - "updateTime": "", | ||
116 | - "agreementEndTime": "" | ||
117 | - },{ | ||
118 | - "id": "", | ||
119 | - "shopsId": "", | ||
120 | - "brandId": "", | ||
121 | - "supplierId": "", | ||
122 | - "createTime": "", | ||
123 | - "updateTime": "", | ||
124 | - "agreementEndTime": "" | ||
125 | - }], | ||
126 | - "shopsSupplierList": [{ | ||
127 | - "id": "", | ||
128 | - "shopsId": "", | ||
129 | - "brandId": "", | ||
130 | - "brandName": "", | ||
131 | - "agreementEndTime": "" | ||
132 | - },{ | ||
133 | - "id": "", | ||
134 | - "shopsId": "", | ||
135 | - "brandId": "", | ||
136 | - "brandName": "", | ||
137 | - "agreementEndTime": "" | ||
138 | - }] | ||
139 | - } | ||
140 | - } | 78 | + "code": 200, |
79 | + "data": { | ||
80 | + "list": [ | ||
81 | + { | ||
82 | + "checkStatus": 200, | ||
83 | + "createTime": "2015-11-27 15:45:19", | ||
84 | + "shopName": "Case Scenario", | ||
85 | + "shopRelationList": [ | ||
86 | + { | ||
87 | + "brandId": 409, | ||
88 | + "brandName": "Case Scenario", | ||
89 | + "brandNameCn": "", | ||
90 | + "brandNameEn": "Case Scenario", | ||
91 | + "brandStatus": 1, | ||
92 | + "supplierId": 0, | ||
93 | + "supplierStatus": 0 | ||
94 | + } | ||
95 | + ], | ||
96 | + "shopsId": 31, | ||
97 | + "status": 1, | ||
98 | + "updateTime": "2015-12-08 19:20:44" | ||
99 | + } | ||
100 | + ], | ||
101 | + "page": 1, | ||
102 | + "size": 10, | ||
103 | + "total": 79, | ||
104 | + "totalPage": 8 | ||
105 | + }, | ||
106 | + "message": "操作成功" | ||
141 | } | 107 | } |
142 | ``` | 108 | ``` |
143 | 109 |
-
Please register or login to post a comment