Authored by lingmin

Update shops_decorator.md

@@ -267,60 +267,16 @@ @@ -267,60 +267,16 @@
267 ```json 267 ```json
268 268
269 { 269 {
270 - "code": 200,  
271 - "data": {  
272 - "list": [  
273 - {  
274 - "brands": [  
275 - {  
276 - "brandIco": "http://img13.static.yhbimg.com\brandLogo/2015/01/20/16/0293592fac7033878fe46a871869b7c334.jpg",  
277 - "brandName": "Cracker",  
278 - "brandNameCn": "Cracker",  
279 - "brandNameEn": "Cracker",  
280 - "id": 675,  
281 - "saleType": 1,  
282 - "status": 1  
283 - }  
284 - ],  
285 - "checkStatus": 100,  
286 - "createTime": 1448611515,  
287 - "id": 478,  
288 - "appType": 0,  
289 - "passStatus": 0,  
290 - "shopStatus": "1",  
291 - "shopsId": 40,  
292 - "shopsName": "Cracker",  
293 - "shopsType": 1,  
294 - "status": 0,  
295 - "templateId": 480,  
296 - "updateTime": 1469000702  
297 - },  
298 - {  
299 - "brands": [  
300 - {  
301 - "brandDomain": "offlinebread",  
302 - "brandIco": "http://img13.static.yhbimg.com\brandLogo/2016/06/07/01/0235bdaf99cddc344025268cf094cc6add.jpg",  
303 - "brandName": "线下品牌",  
304 - "brandNameCn": "",  
305 - "brandNameEn": "offlinebread",  
306 - "id": 1690,  
307 - "status": 1  
308 - }  
309 - ],  
310 - "checkStatus": 100,  
311 - "createTime": 1467105485,  
312 - "id": 372,  
313 - "appType": 0,  
314 - "passStatus": 0,  
315 - "shopStatus": "0",  
316 - "shopsId": 712,  
317 - "shopsName": "吞吞吐吐天天34",  
318 - "shopsType": 1,  
319 - "status": 0,  
320 - "templateId": 372,  
321 - "updateTime": 1468393012  
322 - }, 270 + "code": 200,
  271 + "data": {
  272 + "list": [
323 { 273 {
  274 + "appType": 1,
  275 + "blkCheckStatus": 300,
  276 + "blkComment": "",
  277 + "blkPassStatus": 1,
  278 + "blkProductNum": 2,
  279 + "blkShopStatus": 0,
324 "brands": [ 280 "brands": [
325 { 281 {
326 "brandDomain": "test", 282 "brandDomain": "test",
@@ -375,138 +331,198 @@ @@ -375,138 +331,198 @@
375 "status": 1 331 "status": 1
376 } 332 }
377 ], 333 ],
378 - "checkStatus": 100,  
379 - "createTime": 1467692326,  
380 - "id": 444,  
381 - "appType": 0, 334 + "checkStatus": 0,
  335 + "commentId": "232",
  336 + "createTime": "2016-07-05 12:18:46",
  337 + "id": 562,
382 "passStatus": 0, 338 "passStatus": 0,
383 - "shopStatus": "0", 339 + "shopStatus": 0,
384 "shopsId": 720, 340 "shopsId": 720,
385 "shopsName": "YOHOOD", 341 "shopsName": "YOHOOD",
386 "shopsType": 1, 342 "shopsType": 1,
387 "status": 0, 343 "status": 0,
388 - "templateId": 446,  
389 - "updateTime": 1468388843 344 + "templateId": 554,
  345 + "updateTime": "2016-07-28 14:25:19"
390 }, 346 },
391 { 347 {
  348 + "appType": 0,
  349 + "blkCheckStatus": 0,
  350 + "blkPassStatus": 0,
  351 + "blkProductNum": 0,
  352 + "blkShopStatus": 0,
392 "brands": [ 353 "brands": [
393 { 354 {
394 - "brandDomain": "blackjack",  
395 - "brandIco": "http://img12.static.yhbimg.com\brandLogo/2015/12/03/07/02001456de51da53186c46fb2e7597a02b.jpg",  
396 - "brandName": "BLACKJACK",  
397 - "brandNameCn": "",  
398 - "brandNameEn": "BLACKJACK",  
399 - "id": 256,  
400 - "saleType": 1, 355 + "brandDomain": "sadsad",
  356 + "brandIco": "http://img10.static.yhbimg.com\brandLogo/2016/07/20/16/01d286a23ff0769299485c2a524b10eb20.jpg",
  357 + "brandName": "勿动此品牌",
  358 + "brandNameCn": "勿动此品牌",
  359 + "brandNameEn": "ssss",
  360 + "id": 2234,
401 "status": 1 361 "status": 1
402 } 362 }
403 ], 363 ],
404 "checkStatus": 100, 364 "checkStatus": 100,
405 - "createTime": 1459340027,  
406 - "id": 438,  
407 - "appType": 0,  
408 - "passStatus": 0,  
409 - "shopStatus": "1",  
410 - "shopsId": 643,  
411 - "shopsName": "BLACKJACK旗舰店",  
412 - "shopsType": 2, 365 + "createTime": "2016-07-20 16:52:11",
  366 + "id": 572,
  367 + "passStatus": 1,
  368 + "shopStatus": 0,
  369 + "shopsId": 724,
  370 + "shopsName": "勿动此品牌",
  371 + "shopsType": 1,
413 "status": 0, 372 "status": 0,
414 - "templateId": 440,  
415 - "updateTime": 1468388332 373 + "templateId": 564,
  374 + "updateTime": "2016-07-29 18:16:56"
416 }, 375 },
417 { 376 {
  377 + "appType": 0,
  378 + "blkCheckStatus": 0,
  379 + "blkPassStatus": 0,
  380 + "blkProductNum": 1,
  381 + "blkShopStatus": 0,
418 "brands": [ 382 "brands": [
419 { 383 {
420 - "brandDomain": "blackjack",  
421 - "brandIco": "http://img12.static.yhbimg.com\brandLogo/2015/12/03/07/02001456de51da53186c46fb2e7597a02b.jpg",  
422 - "brandName": "BLACKJACK",  
423 - "brandNameCn": "",  
424 - "brandNameEn": "BLACKJACK",  
425 - "id": 256, 384 + "brandIco": "http://img13.static.yhbimg.com\brandLogo/2015/01/20/16/0293592fac7033878fe46a871869b7c334.jpg",
  385 + "brandName": "Cracker",
  386 + "brandNameCn": "Cracker",
  387 + "brandNameEn": "Cracker",
  388 + "id": 675,
426 "saleType": 1, 389 "saleType": 1,
427 "status": 1 390 "status": 1
428 } 391 }
429 ], 392 ],
430 "checkStatus": 100, 393 "checkStatus": 100,
431 - "createTime": 1460963280,  
432 - "id": 408,  
433 - "appType": 0,  
434 - "passStatus": 0,  
435 - "shopStatus": "1",  
436 - "shopsId": 680,  
437 - "shopsName": "牛宝宝旗舰店", 394 + "createTime": "2015-11-27 16:05:15",
  395 + "id": 558,
  396 + "passStatus": 1,
  397 + "shopStatus": 1,
  398 + "shopsId": 40,
  399 + "shopsName": "Cracker",
438 "shopsType": 1, 400 "shopsType": 1,
439 "status": 0, 401 "status": 0,
440 - "templateId": 410,  
441 - "updateTime": 1468377051 402 + "templateId": 550,
  403 + "updateTime": "2016-07-27 17:08:44"
442 }, 404 },
443 { 405 {
  406 + "appType": 1,
  407 + "blkCheckStatus": 300,
  408 + "blkComment": "",
  409 + "blkPassStatus": 1,
  410 + "blkProductNum": 0,
  411 + "blkShopStatus": 1,
444 "brands": [ 412 "brands": [
445 { 413 {
446 - "brandDomain": "offlinebread",  
447 - "brandIco": "http://img13.static.yhbimg.com\brandLogo/2016/06/07/01/0235bdaf99cddc344025268cf094cc6add.jpg",  
448 - "brandName": "线下品牌",  
449 - "brandNameCn": "",  
450 - "brandNameEn": "offlinebread",  
451 - "id": 1690, 414 + "brandDomain": "sctest1",
  415 + "brandIco": "http://img13.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg",
  416 + "brandName": "宋超测试1",
  417 + "brandNameCn": "宋超测试1",
  418 + "brandNameEn": "sctest1",
  419 + "id": 1680,
452 "status": 1 420 "status": 1
453 } 421 }
454 ], 422 ],
455 - "checkStatus": 100,  
456 - "createTime": 1465265878,  
457 - "id": 370,  
458 - "appType": 0, 423 + "checkStatus": 0,
  424 + "commentId": "266",
  425 + "createTime": "2016-05-27 16:06:30",
  426 + "id": 564,
459 "passStatus": 0, 427 "passStatus": 0,
460 - "shopStatus": "0",  
461 - "shopsId": 706,  
462 - "shopsName": "线下环境测试店铺", 428 + "shopStatus": 1,
  429 + "shopsId": 700,
  430 + "shopsName": "sctest1",
463 "shopsType": 1, 431 "shopsType": 1,
464 "status": 0, 432 "status": 0,
465 - "templateId": 408,  
466 - "updateTime": 1468376532 433 + "templateId": 556,
  434 + "updateTime": "2016-07-28 17:00:31"
467 }, 435 },
468 { 436 {
  437 + "appType": 1,
  438 + "blkCheckStatus": 300,
  439 + "blkComment": "",
  440 + "blkPassStatus": 1,
  441 + "blkProductNum": 0,
  442 + "blkShopStatus": 1,
469 "brands": [ 443 "brands": [
470 { 444 {
471 - "brandDomain": "PTY",  
472 - "brandIco": "http://img10.static.yhbimg.com/yhb-img01/2016/02/26/13/01451c0b95e4ca317b798a084611f6ec5a.jpg",  
473 - "brandName": "胖头鱼骨汤",  
474 - "brandNameEn": "PTY",  
475 - "id": 1504, 445 + "brandDomain": "HLZJ",
  446 + "brandIco": "http://img11.static.yhbimg.com\brandLogo/2016/06/01/10/01b40859bff6c925785b363b8c6e294d1b.jpg",
  447 + "brandName": "海澜之家",
  448 + "brandNameCn": "海澜之家",
  449 + "brandNameEn": "HLZJ",
  450 + "id": 1545,
476 "status": 1 451 "status": 1
477 }, 452 },
478 { 453 {
479 - "brandDomain": "yohood",  
480 - "brandIco": "http://img12.static.yhbimg.com\brandLogo/2016/07/05/12/02a917c452bc633b6b1b70a446243cf02e.png",  
481 - "brandName": "YOHOOD",  
482 - "brandNameCn": "YOHOOD",  
483 - "brandNameEn": "YOHOOD",  
484 - "id": 1730, 454 + "brandDomain": "happy",
  455 + "brandIco": "http://img10.static.yhbimg.com\brandLogo/2016/05/30/16/0137290b26989c2bbc53c45e6c74b6f23a.jpg",
  456 + "brandName": "开心日",
  457 + "brandNameCn": "开心日",
  458 + "brandNameEn": "happy",
  459 + "id": 1678,
  460 + "status": 1
  461 + },
  462 + {
  463 + "brandDomain": "sctest1",
  464 + "brandIco": "http://img13.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg",
  465 + "brandName": "宋超测试1",
  466 + "brandNameCn": "宋超测试1",
  467 + "brandNameEn": "sctest1",
  468 + "id": 1680,
485 "status": 1 469 "status": 1
486 } 470 }
487 ], 471 ],
488 - "checkStatus": 100,  
489 - "createTime": 1467696755,  
490 - "id": 406,  
491 - "appType": 0, 472 + "checkStatus": 900,
  473 + "comment": "驳回",
  474 + "commentId": "264",
  475 + "createTime": "2016-06-01 10:34:16",
  476 + "id": 584,
492 "passStatus": 0, 477 "passStatus": 0,
493 - "shopStatus": "0",  
494 - "shopsId": 722,  
495 - "shopsName": "自己用,他人勿用", 478 + "shopStatus": 0,
  479 + "shopsId": 702,
  480 + "shopsName": "海澜之家",
496 "shopsType": 2, 481 "shopsType": 2,
497 "status": 0, 482 "status": 0,
498 - "templateId": 406,  
499 - "updateTime": 1468319749 483 + "templateId": 576,
  484 + "updateTime": "2016-08-01 21:01:19"
  485 + },
  486 + {
  487 + "appType": 0,
  488 + "blkCheckStatus": 300,
  489 + "blkComment": "",
  490 + "blkPassStatus": 1,
  491 + "blkProductNum": 0,
  492 + "blkShopStatus": 0,
  493 + "brands": [
  494 + {
  495 + "brandDomain": "firstone",
  496 + "brandIco": "http://img11.static.yhbimg.com\brandLogo/2016/04/08/11/01b90770eac24d9ac2eaf802698908e670.png",
  497 + "brandName": "first one",
  498 + "brandNameCn": "first one",
  499 + "brandNameEn": "first one",
  500 + "id": 1576,
  501 + "status": 1
  502 + }
  503 + ],
  504 + "checkStatus": 300,
  505 + "commentId": "258",
  506 + "createTime": "2016-04-20 14:30:07",
  507 + "id": 582,
  508 + "passStatus": 1,
  509 + "shopStatus": 0,
  510 + "shopsId": 686,
  511 + "shopsName": "海绵宝宝22",
  512 + "shopsType": 1,
  513 + "status": 0,
  514 + "templateId": 574,
  515 + "updateTime": "2016-07-29 19:40:47"
500 } 516 }
501 - ],  
502 - "page": 1,  
503 - "size": 20,  
504 - "total": 7,  
505 - "totalPage": 1  
506 - },  
507 - "md5": "a43cfea9dd6089eea8e85eb38ed660bd",  
508 - "message": "操作成功"  
509 - } 517 + ],
  518 + "page": 1,
  519 + "size": 10,
  520 + "total": 571,
  521 + "totalPage": 58
  522 + },
  523 + "md5": "474a412f1c11c0ae47fc20f6ac731b57",
  524 + "message": "操作成功"
  525 +}
510 ``` 526 ```
511 527
512 |参数名 |必填 |类型 |示例值 |描述 | 528 |参数名 |必填 |类型 |示例值 |描述 |
@@ -1005,3 +1021,103 @@ @@ -1005,3 +1021,103 @@
1005 |templateName|是 |string |BASE |模板名称 | 1021 |templateName|是 |string |BASE |模板名称 |
1006 |resources |是 |json | |资源 | 1022 |resources |是 |json | |资源 |
1007 |appType |是 |int |1 |0-有货,1-BLK | 1023 |appType |是 |int |1 |0-有货,1-BLK |
  1024 +
  1025 +
  1026 +## 获取店铺装修审核列表
  1027 +> POST `/ShopsDecoratorRest/findAuditShopsDecorator`
  1028 +
  1029 +### 入参
  1030 +
  1031 +```json
  1032 +
  1033 +{
  1034 + "size":10
  1035 +}
  1036 +```
  1037 +
  1038 +|参数名 |必填 |类型 |示例值 |描述 |
  1039 +|------ |---- |---- |------ |---- |
  1040 +|size |否 |int |1 |分页大小 |
  1041 +
  1042 +
  1043 +### 返回
  1044 +
  1045 +```json
  1046 +
  1047 + {
  1048 + "code": 200,
  1049 + "data": {
  1050 + "list": [],
  1051 + "page": 1,
  1052 + "size": 10,
  1053 + "total": 0,
  1054 + "totalPage": 0
  1055 + },
  1056 + "message": "操作成功"
  1057 + }
  1058 +
  1059 +
  1060 +
  1061 +## 审核有货店铺装修
  1062 +> POST `/ShopsDecoratorRest/auditShopsDecorator`
  1063 +
  1064 +### 入参
  1065 +
  1066 +```json
  1067 +
  1068 +{
  1069 + "shopsId":700,
  1070 + "checkStatus":300,
  1071 + "comment":""
  1072 +}
  1073 +```
  1074 +
  1075 +|参数名 |必填 |类型 |示例值 |描述 |
  1076 +|------ |---- |---- |------ |---- |
  1077 +|shopsId |是 |int |700 |店铺Id |
  1078 +|checkStatus |是 |int |300 |审核状态:200待审核,300通过,900驳回 |
  1079 +|comment |否 |String | |驳回理由,当驳回时必填|
  1080 +
  1081 +
  1082 +### 返回
  1083 +
  1084 +```json
  1085 +
  1086 + {
  1087 + "code": 200,
  1088 + "data": [],
  1089 + "md5": "d751713988987e9331980363e24189ce",
  1090 + "message": "操作成功."
  1091 + }
  1092 +
  1093 +## 审核有货店铺装修
  1094 +> POST `/ShopsDecoratorRest/auditBlkShopsDecorator`
  1095 +
  1096 +### 入参
  1097 +
  1098 +```json
  1099 +
  1100 +{
  1101 + "shopsId":700,
  1102 + "blkCheckStatus":300,
  1103 + "blkComment":""
  1104 +}
  1105 +```
  1106 +
  1107 +|参数名 |必填 |类型 |示例值 |描述 |
  1108 +|------ |---- |---- |------ |---- |
  1109 +|shopsId |是 |int |700 |店铺Id |
  1110 +|blkCheckStatus |是 |int |300 |审核状态:200待审核,300通过,900驳回 |
  1111 +|blkComment |否 |String | |驳回理由,当驳回时必填|
  1112 +
  1113 +
  1114 +### 返回
  1115 +
  1116 +```json
  1117 +
  1118 + {
  1119 + "code": 200,
  1120 + "data": [],
  1121 + "md5": "d751713988987e9331980363e24189ce",
  1122 + "message": "操作成功."
  1123 + }