Showing
1 changed file
with
42 additions
and
0 deletions
@@ -135,6 +135,7 @@ | @@ -135,6 +135,7 @@ | ||
135 | } | 135 | } |
136 | ``` | 136 | ``` |
137 | 137 | ||
138 | +--------------------------------------------------------------------------------------------------------- | ||
138 | 139 | ||
139 | ## 创建店铺 | 140 | ## 创建店铺 |
140 | 141 | ||
@@ -186,6 +187,7 @@ shopRelation的json格式为: | @@ -186,6 +187,7 @@ shopRelation的json格式为: | ||
186 | } | 187 | } |
187 | ``` | 188 | ``` |
188 | 189 | ||
190 | +--------------------------------------------------------------------------------------------------------- | ||
189 | 191 | ||
190 | ## 修改店铺 | 192 | ## 修改店铺 |
191 | 193 | ||
@@ -238,6 +240,8 @@ shopRelation的json格式为: | @@ -238,6 +240,8 @@ shopRelation的json格式为: | ||
238 | } | 240 | } |
239 | ``` | 241 | ``` |
240 | 242 | ||
243 | +--------------------------------------------------------------------------------------------------------- | ||
244 | + | ||
241 | ## 关店 | 245 | ## 关店 |
242 | 246 | ||
243 | > 接口名: `/ShopsRest/closeShops` | 247 | > 接口名: `/ShopsRest/closeShops` |
@@ -261,6 +265,8 @@ shopRelation的json格式为: | @@ -261,6 +265,8 @@ shopRelation的json格式为: | ||
261 | 265 | ||
262 | ``` | 266 | ``` |
263 | 267 | ||
268 | +--------------------------------------------------------------------------------------------------------- | ||
269 | + | ||
264 | ## 开店 | 270 | ## 开店 |
265 | 271 | ||
266 | > 接口名: `/ShopsRest/openShops` | 272 | > 接口名: `/ShopsRest/openShops` |
@@ -284,6 +290,7 @@ shopRelation的json格式为: | @@ -284,6 +290,7 @@ shopRelation的json格式为: | ||
284 | 290 | ||
285 | ``` | 291 | ``` |
286 | 292 | ||
293 | +--------------------------------------------------------------------------------------------------------- | ||
287 | 294 | ||
288 | ## 审核通过 | 295 | ## 审核通过 |
289 | 296 | ||
@@ -308,6 +315,7 @@ shopRelation的json格式为: | @@ -308,6 +315,7 @@ shopRelation的json格式为: | ||
308 | 315 | ||
309 | ``` | 316 | ``` |
310 | 317 | ||
318 | +--------------------------------------------------------------------------------------------------------- | ||
311 | 319 | ||
312 | ## 审核拒绝 | 320 | ## 审核拒绝 |
313 | 321 | ||
@@ -331,3 +339,37 @@ shopRelation的json格式为: | @@ -331,3 +339,37 @@ shopRelation的json格式为: | ||
331 | } | 339 | } |
332 | 340 | ||
333 | ``` | 341 | ``` |
342 | + | ||
343 | + | ||
344 | +--------------------------------------------------------------------------------------------------------- | ||
345 | + | ||
346 | +## 根据品牌id,获取品牌供应商关系(可用的供应商,并且是合同有效的) | ||
347 | + | ||
348 | +> 接口名: `/supplier/supplier/selectSupplierByBrandId` | ||
349 | + | ||
350 | +### 入参 | ||
351 | + | ||
352 | +------------------------- | ||
353 | +|属性名称|类型|例子|说明| | ||
354 | +|--------|----|----|----| | ||
355 | +|brandId|int|15|品牌ID| | ||
356 | +----------------------------- | ||
357 | + | ||
358 | +### 返回 | ||
359 | + | ||
360 | +```json | ||
361 | + | ||
362 | +{ | ||
363 | + "code": 200, | ||
364 | + "data": [ | ||
365 | + { | ||
366 | + "agreementEndTime": "2016-10-31", | ||
367 | + "brandId": 1409, | ||
368 | + "supplierId": 1147, | ||
369 | + "supplierName": "北京尚视科技有限公司" | ||
370 | + } | ||
371 | + ], | ||
372 | + "message": "操作成功" | ||
373 | +} | ||
374 | + | ||
375 | +``` |
-
Please register or login to post a comment