Authored by lingmin

Update shops_decorator.md

... ... @@ -7,57 +7,18 @@
```json
{
"shopsId":1,
{
"shopsId":700,
"isBlk":1,
"platform": "APP",
"templateName": "BASE",
"resources": [
{
"id":7,
"name": "shopTopBanner",
"data": {
"src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png",
"isShowShopName": "Y"
}
},
{
"id":8,
"name": "productDetailTopBanner",
"data": {
"src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/015}5598441256e46ec285a8ea64e762394.png"
}
},
{
"id":9,
"name": "oneRowTwoColImages",
"data": [
{
"position": 1,
"src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png",
"url": {},
"startTime": 1309514897,
"endTime": 1309514967,
"publishStatus": 0
"resources":{
allHotProducts:{data:[],id:},
allHotProducts:{data:[],id:},
allHotProducts:{data:[],id:},
}
]
},
{
"id":10,
"name": "hotProducts",
"data": [
50000881,
50000882,
50000883,
50000884,
50000885,
50000886,
50000887,
50000888
]
}
]
}
```
|参数名 |必填 |类型 |示例值 |描述 |
... ... @@ -145,32 +106,247 @@
```json
{
{
"code": 200,
"message": "操作成功",
"data":{
"page":1,
"size":20,
"total":101,
"totalPage":6,
"list":[{
"id":1,
"shopsId":1,
"shopsName":"T.U.K",
"checkStatus":100,
"createTime":1454551897,
"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,
"isBlk": 0,
"updateTime":1454551897,
"status":1,
"brands":[{
"id":517,
"brandName":"T.U.K",
"brandNameCn":"",
"brandNameEn":"T.U.K"
}]
}]
"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,
"isBlk": 0,
"passStatus": 0,
"shopStatus": "0",
"shopsId": 712,
"shopsName": "吞吞吐吐天天34",
"shopsType": 1,
"status": 0,
"templateId": 372,
"updateTime": 1468393012
},
{
"brands": [
{
"brandDomain": "test",
"brandIco": "http://img01.yohoboys.com/o_1aagoborp1fkg1t3m15vja3p1mnt7.png",
"brandName": "111",
"brandNameEn": "test",
"id": 1435,
"saleType": 1,
"status": 1
},
{
"brandDomain": "1",
"brandIco": "",
"brandName": "12夺厅",
"brandNameEn": "1",
"id": 1482,
"status": 1
},
{
"brandDomain": "/kljlkaji",
"brandIco": "http://img10.static.yhbimg.com/yhb-img01/2016/03/02/09/01bc79579f14c164f5c0de68a16e59330e.png",
"brandName": "*/?。,》《!@#¥%……&",
"brandNameEn": "*/?。,》《!@#¥%……&",
"id": 1524,
"status": 1
},
{
"brandDomain": "happy",
"brandIco": "http://img10.static.yhbimg.com\brandLogo/2016/05/30/16/0137290b26989c2bbc53c45e6c74b6f23a.jpg",
"brandName": "开心日",
"brandNameCn": "开心日",
"brandNameEn": "happy",
"id": 1678,
"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,
"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,
"status": 1
}
],
"checkStatus": 100,
"createTime": 1467692326,
"id": 444,
"isBlk": 0,
"passStatus": 0,
"shopStatus": "0",
"shopsId": 720,
"shopsName": "YOHOOD",
"shopsType": 1,
"status": 0,
"templateId": 446,
"updateTime": 1468388843
},
{
"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,
"status": 1
}
],
"checkStatus": 100,
"createTime": 1459340027,
"id": 438,
"isBlk": 0,
"passStatus": 0,
"shopStatus": "1",
"shopsId": 643,
"shopsName": "BLACKJACK旗舰店",
"shopsType": 2,
"status": 0,
"templateId": 440,
"updateTime": 1468388332
},
{
"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,
"status": 1
}
],
"checkStatus": 100,
"createTime": 1460963280,
"id": 408,
"isBlk": 0,
"passStatus": 0,
"shopStatus": "1",
"shopsId": 680,
"shopsName": "牛宝宝旗舰店",
"shopsType": 1,
"status": 0,
"templateId": 410,
"updateTime": 1468377051
},
{
"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": 1465265878,
"id": 370,
"isBlk": 0,
"passStatus": 0,
"shopStatus": "0",
"shopsId": 706,
"shopsName": "线下环境测试店铺",
"shopsType": 1,
"status": 0,
"templateId": 408,
"updateTime": 1468376532
},
{
"brands": [
{
"brandDomain": "PTY",
"brandIco": "http://img10.static.yhbimg.com/yhb-img01/2016/02/26/13/01451c0b95e4ca317b798a084611f6ec5a.jpg",
"brandName": "胖头鱼骨汤",
"brandNameEn": "PTY",
"id": 1504,
"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,
"status": 1
}
],
"checkStatus": 100,
"createTime": 1467696755,
"id": 406,
"isBlk": 0,
"passStatus": 0,
"shopStatus": "0",
"shopsId": 722,
"shopsName": "自己用,他人勿用",
"shopsType": 2,
"status": 0,
"templateId": 406,
"updateTime": 1468319749
}
],
"page": 1,
"size": 20,
"total": 7,
"totalPage": 1
},
"md5": "a43cfea9dd6089eea8e85eb38ed660bd",
"message": "操作成功"
}
}
```
|参数名 |必填 |类型 |示例值 |描述 |
... ... @@ -222,13 +398,13 @@
```json
{
{
"code": 200,
"data": {
"brandList": [
{
"brandDomain": "sctest1",
"brandIco": "http://img13.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg",
"brandIco": "http://img12.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg",
"brandName": "宋超测试1",
"brandNameCn": "宋超测试1",
"brandNameEn": "sctest1",
... ... @@ -241,16 +417,300 @@
"id": 362,
"isBlk": 0,
"platform": "PC",
"resources": {},
"resources": {
"allHotProducts": {
"data": [],
"id": 5502
},
"allHotProducts_APP": {
"data": [],
"id": 5536
},
"allNewProducts": {
"data": [],
"id": 5534
},
"brandBrowse": {
"data": [
{
"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
}
],
"id": 5506
},
"goodsTabBar": {
"data": {
"hot": [
{
"name": "MORE",
"position": 0,
"url": ""
}
],
"new": [
{
"name": "MORE",
"position": 0,
"url": ""
}
]
},
"id": 5522
},
"hotProducts": {
"data": [],
"id": 5530
},
"hotProducts_APP": {
"data": [],
"id": 5524,
"isUsed": "N"
},
"hotRecommend": {
"data": [
{
"__index": 0,
"_num": 0,
"position": 1,
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/02afc9dfed84ea599a06fa41760ccce738.png",
"title": "",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"id": 5512,
"title": ""
},
"largeSlideImg": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2016-09-21 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/0273d1b4a5afc4f9598c5b21085d38f476.jpg",
"startTime": "2016-05-31 00:00:00",
"url": "http://m.yohobuy.com/product/pro_238869_313457/LIGHTNINGBEARLNBRPOLOShan1520712044POLOShan.html?openby:yohobuy={\"action\":\"go.productDetail\",\"params\":{\"product_skn\":51134310}}"
}
],
"position": 1
}
],
"id": 5526
},
"largeSlideImg_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2016-09-21 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/0273d1b4a5afc4f9598c5b21085d38f476.jpg",
"startTime": "2016-05-31 00:00:00",
"url": ""
}
],
"isUsed": "Y",
"position": 1
}
],
"id": 5532,
"isUsed": "Y"
},
"navigationBar": {
"data": [
{
"name": "",
"url": ""
},
{
"name": "",
"url": ""
},
{
"name": "",
"url": ""
}
],
"id": 5518
},
"newProducts": {
"data": [],
"id": 5520
},
"oneRowTwoColImages": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2016-08-18 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/020c777205fe058d915b5275e51ec87509.jpg",
"startTime": "2016-05-31 01:00:00",
"url": ""
}
],
"position": 2
},
{
"__index": 1,
"_num": 1,
"data": [
{
"endTime": "2016-08-10 00:00:00",
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/0247ebd84ea88e14bbb40011fbd3bb8546.png",
"startTime": "2016-05-31 00:00:00",
"url": ""
}
],
"position": 1
}
],
"id": 5500
},
"oneRowTwoColImages_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2016-08-18 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/020c777205fe058d915b5275e51ec87509.jpg",
"startTime": "2016-05-31 01:00:00",
"url": ""
}
],
"isUsed": "Y",
"position": 2
},
{
"__index": 1,
"_num": 1,
"data": [
{
"endTime": "2016-08-10 00:00:00",
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/0247ebd84ea88e14bbb40011fbd3bb8546.png",
"startTime": "2016-05-31 00:00:00",
"url": ""
}
],
"isUsed": "Y",
"position": 1
}
],
"id": 5514,
"isUsed": "Y"
},
"recommend": {
"data": [
{
"__index": 0,
"_num": 0,
"enName": "",
"isShowInApp": "Y",
"name": "gsdfsfsfe",
"position": 1,
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/02c35dd97f27207a66687d8ac66b2455ac.jpg",
"title": "经典推荐",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"id": 5508,
"title": "经典推荐"
},
"recommend_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"enName": "",
"isShowInApp": "Y",
"isUsed": "Y",
"name": "gsdfsfsfe",
"position": 1,
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/02c35dd97f27207a66687d8ac66b2455ac.jpg",
"title": "经典推荐",
"url": ""
}
],
"id": 5516,
"isUsed": "Y"
},
"shopTopBanner": {
"data": [
{
"__index": 0,
"_num": 0,
"detailSrc": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/02e3a1cef364290b7c8769b60dbfe67003.jpg",
"isShowShopName": "Y",
"shopSrc": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/025e4fe477f685b35faf2da9a7ad48fa5d.png"
}
],
"id": 5504
},
"shopTopBanner_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"detailSrc": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/02e3a1cef364290b7c8769b60dbfe67003.jpg",
"isShowShopName": "Y",
"isUsed": "Y",
"shopSrc": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/025e4fe477f685b35faf2da9a7ad48fa5d.png"
}
],
"id": 5510,
"isUsed": "Y"
},
"shopTopBanner_base": {
"data": [
{
"__index": 0,
"_num": 0,
"detailSrc": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/022ce9d1b6f092566eae43c117ba93546d.png",
"isShowShopName": "N",
"shopSrc": "http://img12.static.yhbimg.com/yhb-img02/2016/05/31/17/02a118e78aa8b2aa1762e338187002158e.jpg"
}
],
"id": 5528
},
"signboard": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2016-10-28 09:00:00",
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/05/31/17/02ada394e182a4da098cacadfc67d8b8f0.png",
"startTime": "2016-05-31 00:00:00",
"url": "http://m.yohobuy.com/signin.html?refer=%2Fhome%2Fmessage"
}
],
"position": 1
}
],
"id": 5498
}
},
"shopName": "sctest1",
"shopsId": 700,
"status": 0,
"templateType": "2",
"updateTime": 1464922138
},
"md5": "db115f5884592c53ad52dcff85c7ab53",
"md5": "7409b9ea5a666db3808aaa48e7a9abdf",
"message": "操作成功"
}
}
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
... ...