Toggle navigation
Toggle navigation
This project
Loading...
Sign in
michaelcao
/
yohobuy-doc
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
lingmin
9 years ago
Commit
1962edf7ade643ce1509c511504f7224ad9dbcf7
1 parent
3ddc96af
Update shops_decorator.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
252 additions
and
136 deletions
inferface-document/shops/shops_decorator.md
inferface-document/shops/shops_decorator.md
View file @
1962edf
...
...
@@ -267,60 +267,16 @@
```
json
{
"code"
:
200
,
"data"
:
{
"list"
:
[
{
"brands"
:
[
{
"brandIco"
:
"http://img13.static.yhbimg.com\brandLogo/2015/01/20/16/0293592fac7033878fe46a871869b7c334.jpg"
,
"brandName"
:
"Cracker"
,
"brandNameCn"
:
"Cracker"
,
"brandNameEn"
:
"Cracker"
,
"id"
:
675
,
"saleType"
:
1
,
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1448611515
,
"id"
:
478
,
"appType"
:
0
,
"passStatus"
:
0
,
"shopStatus"
:
"1"
,
"shopsId"
:
40
,
"shopsName"
:
"Cracker"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
480
,
"updateTime"
:
1469000702
},
{
"brands"
:
[
{
"brandDomain"
:
"offlinebread"
,
"brandIco"
:
"http://img13.static.yhbimg.com\brandLogo/2016/06/07/01/0235bdaf99cddc344025268cf094cc6add.jpg"
,
"brandName"
:
"线下品牌"
,
"brandNameCn"
:
""
,
"brandNameEn"
:
"offlinebread"
,
"id"
:
1690
,
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1467105485
,
"id"
:
372
,
"appType"
:
0
,
"passStatus"
:
0
,
"shopStatus"
:
"0"
,
"shopsId"
:
712
,
"shopsName"
:
"吞吞吐吐天天34"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
372
,
"updateTime"
:
1468393012
},
"code"
:
200
,
"data"
:
{
"list"
:
[
{
"appType"
:
1
,
"blkCheckStatus"
:
300
,
"blkComment"
:
""
,
"blkPassStatus"
:
1
,
"blkProductNum"
:
2
,
"blkShopStatus"
:
0
,
"brands"
:
[
{
"brandDomain"
:
"test"
,
...
...
@@ -375,138 +331,198 @@
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1467692326
,
"id"
:
444
,
"appType"
:
0
,
"checkStatus"
:
0
,
"commentId"
:
"232"
,
"createTime"
:
"2016-07-05 12:18:46"
,
"id"
:
562
,
"passStatus"
:
0
,
"shopStatus"
:
"0"
,
"shopStatus"
:
0
,
"shopsId"
:
720
,
"shopsName"
:
"YOHOOD"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
446
,
"updateTime"
:
1468388843
"templateId"
:
554
,
"updateTime"
:
"2016-07-28 14:25:19"
},
{
"appType"
:
0
,
"blkCheckStatus"
:
0
,
"blkPassStatus"
:
0
,
"blkProductNum"
:
0
,
"blkShopStatus"
:
0
,
"brands"
:
[
{
"brandDomain"
:
"blackjack"
,
"brandIco"
:
"http://img12.static.yhbimg.com\brandLogo/2015/12/03/07/02001456de51da53186c46fb2e7597a02b.jpg"
,
"brandName"
:
"BLACKJACK"
,
"brandNameCn"
:
""
,
"brandNameEn"
:
"BLACKJACK"
,
"id"
:
256
,
"saleType"
:
1
,
"brandDomain"
:
"sadsad"
,
"brandIco"
:
"http://img10.static.yhbimg.com\brandLogo/2016/07/20/16/01d286a23ff0769299485c2a524b10eb20.jpg"
,
"brandName"
:
"勿动此品牌"
,
"brandNameCn"
:
"勿动此品牌"
,
"brandNameEn"
:
"ssss"
,
"id"
:
2234
,
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1459340027
,
"id"
:
438
,
"appType"
:
0
,
"passStatus"
:
0
,
"shopStatus"
:
"1"
,
"shopsId"
:
643
,
"shopsName"
:
"BLACKJACK旗舰店"
,
"shopsType"
:
2
,
"createTime"
:
"2016-07-20 16:52:11"
,
"id"
:
572
,
"passStatus"
:
1
,
"shopStatus"
:
0
,
"shopsId"
:
724
,
"shopsName"
:
"勿动此品牌"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
440
,
"updateTime"
:
1468388332
"templateId"
:
564
,
"updateTime"
:
"2016-07-29 18:16:56"
},
{
"appType"
:
0
,
"blkCheckStatus"
:
0
,
"blkPassStatus"
:
0
,
"blkProductNum"
:
1
,
"blkShopStatus"
:
0
,
"brands"
:
[
{
"brandDomain"
:
"blackjack"
,
"brandIco"
:
"http://img12.static.yhbimg.com\brandLogo/2015/12/03/07/02001456de51da53186c46fb2e7597a02b.jpg"
,
"brandName"
:
"BLACKJACK"
,
"brandNameCn"
:
""
,
"brandNameEn"
:
"BLACKJACK"
,
"id"
:
256
,
"brandIco"
:
"http://img13.static.yhbimg.com\brandLogo/2015/01/20/16/0293592fac7033878fe46a871869b7c334.jpg"
,
"brandName"
:
"Cracker"
,
"brandNameCn"
:
"Cracker"
,
"brandNameEn"
:
"Cracker"
,
"id"
:
675
,
"saleType"
:
1
,
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1460963280
,
"id"
:
408
,
"appType"
:
0
,
"passStatus"
:
0
,
"shopStatus"
:
"1"
,
"shopsId"
:
680
,
"shopsName"
:
"牛宝宝旗舰店"
,
"createTime"
:
"2015-11-27 16:05:15"
,
"id"
:
558
,
"passStatus"
:
1
,
"shopStatus"
:
1
,
"shopsId"
:
40
,
"shopsName"
:
"Cracker"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
410
,
"updateTime"
:
1468377051
"templateId"
:
550
,
"updateTime"
:
"2016-07-27 17:08:44"
},
{
"appType"
:
1
,
"blkCheckStatus"
:
300
,
"blkComment"
:
""
,
"blkPassStatus"
:
1
,
"blkProductNum"
:
0
,
"blkShopStatus"
:
1
,
"brands"
:
[
{
"brandDomain"
:
"offlinebread"
,
"brandIco"
:
"http://img13.static.yhbimg.com\brandLogo/2016/06/07/01/0235bdaf99cddc344025268cf094cc6add.jpg"
,
"brandName"
:
"线下品牌"
,
"brandNameCn"
:
""
,
"brandNameEn"
:
"offlinebread"
,
"id"
:
1690
,
"brandDomain"
:
"sctest1"
,
"brandIco"
:
"http://img13.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg"
,
"brandName"
:
"宋超测试1"
,
"brandNameCn"
:
"宋超测试1"
,
"brandNameEn"
:
"sctest1"
,
"id"
:
1680
,
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1465265878
,
"id"
:
370
,
"appType"
:
0
,
"checkStatus"
:
0
,
"commentId"
:
"266"
,
"createTime"
:
"2016-05-27 16:06:30"
,
"id"
:
564
,
"passStatus"
:
0
,
"shopStatus"
:
"0"
,
"shopsId"
:
706
,
"shopsName"
:
"线下环境测试店铺"
,
"shopStatus"
:
1
,
"shopsId"
:
700
,
"shopsName"
:
"sctest1"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
408
,
"updateTime"
:
1468376532
"templateId"
:
556
,
"updateTime"
:
"2016-07-28 17:00:31"
},
{
"appType"
:
1
,
"blkCheckStatus"
:
300
,
"blkComment"
:
""
,
"blkPassStatus"
:
1
,
"blkProductNum"
:
0
,
"blkShopStatus"
:
1
,
"brands"
:
[
{
"brandDomain"
:
"PTY"
,
"brandIco"
:
"http://img10.static.yhbimg.com/yhb-img01/2016/02/26/13/01451c0b95e4ca317b798a084611f6ec5a.jpg"
,
"brandName"
:
"胖头鱼骨汤"
,
"brandNameEn"
:
"PTY"
,
"id"
:
1504
,
"brandDomain"
:
"HLZJ"
,
"brandIco"
:
"http://img11.static.yhbimg.com\brandLogo/2016/06/01/10/01b40859bff6c925785b363b8c6e294d1b.jpg"
,
"brandName"
:
"海澜之家"
,
"brandNameCn"
:
"海澜之家"
,
"brandNameEn"
:
"HLZJ"
,
"id"
:
1545
,
"status"
:
1
},
{
"brandDomain"
:
"yohood"
,
"brandIco"
:
"http://img12.static.yhbimg.com\brandLogo/2016/07/05/12/02a917c452bc633b6b1b70a446243cf02e.png"
,
"brandName"
:
"YOHOOD"
,
"brandNameCn"
:
"YOHOOD"
,
"brandNameEn"
:
"YOHOOD"
,
"id"
:
1730
,
"brandDomain"
:
"happy"
,
"brandIco"
:
"http://img10.static.yhbimg.com\brandLogo/2016/05/30/16/0137290b26989c2bbc53c45e6c74b6f23a.jpg"
,
"brandName"
:
"开心日"
,
"brandNameCn"
:
"开心日"
,
"brandNameEn"
:
"happy"
,
"id"
:
1678
,
"status"
:
1
},
{
"brandDomain"
:
"sctest1"
,
"brandIco"
:
"http://img13.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg"
,
"brandName"
:
"宋超测试1"
,
"brandNameCn"
:
"宋超测试1"
,
"brandNameEn"
:
"sctest1"
,
"id"
:
1680
,
"status"
:
1
}
],
"checkStatus"
:
100
,
"createTime"
:
1467696755
,
"id"
:
406
,
"appType"
:
0
,
"checkStatus"
:
900
,
"comment"
:
"驳回"
,
"commentId"
:
"264"
,
"createTime"
:
"2016-06-01 10:34:16"
,
"id"
:
584
,
"passStatus"
:
0
,
"shopStatus"
:
"0"
,
"shopsId"
:
722
,
"shopsName"
:
"自己用,他人勿用"
,
"shopStatus"
:
0
,
"shopsId"
:
702
,
"shopsName"
:
"海澜之家"
,
"shopsType"
:
2
,
"status"
:
0
,
"templateId"
:
406
,
"updateTime"
:
1468319749
"templateId"
:
576
,
"updateTime"
:
"2016-08-01 21:01:19"
},
{
"appType"
:
0
,
"blkCheckStatus"
:
300
,
"blkComment"
:
""
,
"blkPassStatus"
:
1
,
"blkProductNum"
:
0
,
"blkShopStatus"
:
0
,
"brands"
:
[
{
"brandDomain"
:
"firstone"
,
"brandIco"
:
"http://img11.static.yhbimg.com\brandLogo/2016/04/08/11/01b90770eac24d9ac2eaf802698908e670.png"
,
"brandName"
:
"first one"
,
"brandNameCn"
:
"first one"
,
"brandNameEn"
:
"first one"
,
"id"
:
1576
,
"status"
:
1
}
],
"checkStatus"
:
300
,
"commentId"
:
"258"
,
"createTime"
:
"2016-04-20 14:30:07"
,
"id"
:
582
,
"passStatus"
:
1
,
"shopStatus"
:
0
,
"shopsId"
:
686
,
"shopsName"
:
"海绵宝宝22"
,
"shopsType"
:
1
,
"status"
:
0
,
"templateId"
:
574
,
"updateTime"
:
"2016-07-29 19:40:47"
}
],
"page"
:
1
,
"size"
:
20
,
"total"
:
7
,
"totalPage"
:
1
},
"md5"
:
"a43cfea9dd6089eea8e85eb38ed660bd"
,
"message"
:
"操作成功"
}
],
"page"
:
1
,
"size"
:
10
,
"total"
:
571
,
"totalPage"
:
58
},
"md5"
:
"474a412f1c11c0ae47fc20f6ac731b57"
,
"message"
:
"操作成功"
}
```
|参数名 |必填 |类型 |示例值 |描述 |
...
...
@@ -1005,3 +1021,103 @@
|templateName|是 |string |BASE |模板名称 |
|resources |是 |json | |资源 |
|appType |是 |int |1 |0-有货,1-BLK |
## 获取店铺装修审核列表
> POST `/ShopsDecoratorRest/findAuditShopsDecorator`
### 入参
```
json
{
"size"
:
10
}
```
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|size |否 |int |1 |分页大小 |
### 返回
```
json
{
"code"
:
200
,
"data"
:
{
"list"
:
[],
"page"
:
1
,
"size"
:
10
,
"total"
:
0
,
"totalPage"
:
0
},
"message"
:
"操作成功"
}
##
审核有货店铺装修
>
POST
`/ShopsDecoratorRest/auditShopsDecorator`
###
入参
```
json
{
"shopsId":700,
"checkStatus":300,
"comment":""
}
```
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|shopsId |是 |int |700 |店铺Id |
|checkStatus |是 |int |300 |审核状态:200待审核,300通过,900驳回 |
|comment |否 |String | |驳回理由,当驳回时必填|
### 返回
```
json
{
"code": 200,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功."
}
## 审核有货店铺装修
> POST `/ShopsDecoratorRest/auditBlkShopsDecorator`
### 入参
```
json
{
"shopsId"
:
700
,
"blkCheckStatus"
:
300
,
"blkComment"
:
""
}
```
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|shopsId |是 |int |700 |店铺Id |
|blkCheckStatus |是 |int |300 |审核状态:200待审核,300通过,900驳回 |
|blkComment |否 |String | |驳回理由,当驳回时必填|
### 返回
```
json
{
"code": 200,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功."
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment