Authored by qianjun

update

@@ -327,12 +327,14 @@ @@ -327,12 +327,14 @@
327 ### 入参 327 ### 入参
328 ```json 328 ```json
329 { 329 {
330 - "identity":1 330 + "shopsId":521,
  331 + "identity":1
331 } 332 }
332 ``` 333 ```
333 ------------------------- 334 -------------------------
334 |属性名称|类型|例子|说明| 335 |属性名称|类型|例子|说明|
335 |--------|----|----|----| 336 |--------|----|----|----|
  337 +|shopsId|int|15|店铺ID|
336 |identity|int|1|身份(1、品牌公司 2、品牌经销商3、品牌代运营商4、有货品牌经理 5、有货店铺运营 6、有货商品运营7、有货平台运营)| 338 |identity|int|1|身份(1、品牌公司 2、品牌经销商3、品牌代运营商4、有货品牌经理 5、有货店铺运营 6、有货商品运营7、有货平台运营)|
337 ----------------------------- 339 -----------------------------
338 340
@@ -341,62 +343,70 @@ @@ -341,62 +343,70 @@
341 ```json 343 ```json
342 { 344 {
343 "code":440 345 "code":440
  346 + "message":"shopsId is null"
  347 +}
  348 +or
  349 +{
  350 + "code":440
344 "message":"身份不存在!" 351 "message":"身份不存在!"
345 } 352 }
  353 +or
346 { 354 {
347 "code":200 355 "code":200
348 - "message":"0" 356 + "message":"该身份下无用户"
349 } 357 }
  358 +or
350 { 359 {
351 "code":200 360 "code":200
352 - "message":"null" 361 + "message":"该身份下无用户"
353 } 362 }
  363 +or
354 { 364 {
355 "code":500 365 "code":500
356 "message":"该关系已存在" 366 "message":"该关系已存在"
357 } 367 }
  368 +or
358 { 369 {
359 "code": 200, 370 "code": 200,
360 "data": [ 371 "data": [
361 { 372 {
362 "identity": 1, 373 "identity": 1,
363 "identityCn": "品牌公司", 374 "identityCn": "品牌公司",
364 - "pid": 100001,  
365 - "supplierId": 0,  
366 - "truename": "tuk"  
367 - },  
368 - {  
369 - "identity": 1,  
370 - "identityCn": "品牌公司",  
371 - "pid": 100002,  
372 - "supplierId": 0,  
373 - "truename": "test9"  
374 - }, 375 + "pid": 100037,
  376 + "supplierId": 1284,
  377 + "truename": "测试AAA"
  378 + }
  379 + ],
  380 + "message": "all user"
  381 +}
  382 +or
  383 +{
  384 + "code": 200,
  385 + "data": [
375 { 386 {
376 - "identity": 1,  
377 - "identityCn": "品牌公司",  
378 - "pid": 100008, 387 + "identity": 6,
  388 + "identityCn": "有货商品运营",
  389 + "pid": 100007,
379 "supplierId": 0, 390 "supplierId": 0,
380 - "truename": "小松鼠" 391 + "truename": "123"
381 }, 392 },
382 { 393 {
383 - "identity": 1,  
384 - "identityCn": "品牌公司",  
385 - "pid": 100010, 394 + "identity": 6,
  395 + "identityCn": "有货商品运营",
  396 + "pid": 100012,
386 "supplierId": 0, 397 "supplierId": 0,
387 - "truename": "Z" 398 + "truename": "C"
388 }, 399 },
389 { 400 {
390 - "identity": 1,  
391 - "identityCn": "品牌公司",  
392 - "pid": 100016, 401 + "identity": 6,
  402 + "identityCn": "有货商品运营",
  403 + "pid": 100028,
393 "supplierId": 0, 404 "supplierId": 0,
394 - "truename": "AAA" 405 + "truename": "喜木"
395 } 406 }
396 ], 407 ],
397 "message": "all user" 408 "message": "all user"
398 } 409 }
399 -  
400 ``` 410 ```
401 411
402 ## 获取所有身份 412 ## 获取所有身份