店铺装修接口
保存店铺装修系信息
POST /ShopsDecoratorRest/saveShopsDecorator
入参
{
"shopsId":700,
"isBlk":1,
"platform": "APP",
"templateName": "BASE",
"resources":{
allHotProducts:{data:[],id:},
allHotProducts:{data:[],id:},
allHotProducts:{data:[],id:},
}
}
参数名 |
必填 |
类型 |
示例值 |
描述 |
shopsId |
是 |
int |
1 |
店铺编号 |
platform |
否 |
string |
APP |
平台名称 |
templateName |
否 |
string |
BASE |
模板名称 |
resources |
否 |
json |
|
资源 |
isBlk |
是 |
int |
1 |
是否BLK,0-否,1-是 |
资源描述-店铺头部横幅
资源描述-商品详情头部横幅
返回
{
"code": 200,
"message": "操作成功",
"data":{
"id":1,
"platform":"APP",
"templateName":"BASE",
"resources":[]
}
}
参数名 |
必填 |
类型 |
示例值 |
描述 |
id |
是 |
int |
1 |
店铺装修编号 |
platform |
是 |
string |
APP |
平台名称 |
templateName |
是 |
string |
BASE |
模板名称 |
resources |
是 |
json |
|
资源 |
查询店铺装修信息
POST /ShopsDecoratorRest/findShopsDecorator
入参
{
"page":1,
"size":20,
"shopsId":1,
"checkStatus": 100,
"supplierId": 1,
"brandId": 1,
"isBlk":0
}
参数名 |
必填 |
类型 |
示例值 |
描述 |
page |
否 |
int |
1 |
页数 |
size |
否 |
int |
20 |
每页大小 |
shopsId |
否 |
int |
1 |
店铺编号 |
checkStatus |
否 |
int |
100 |
审核状态 |
supplierId |
否 |
int |
1 |
供应商编号 |
brandId |
否 |
int |
1 |
品牌编号 |
isBlk |
否 |
int |
1 |
是否BLK,0-否,1-是 |
返回
{
"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,
"isBlk": 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,
"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": "操作成功"
}
参数名 |
必填 |
类型 |
示例值 |
描述 |
page |
是 |
int |
1 |
页数 |
size |
是 |
int |
20 |
每页大小 |
total |
是 |
int |
1 |
总记录数 |
totalPage |
是 |
int |
100 |
总页数 |
list |
是 |
json |
|
店铺装修信息 |
id |
否 |
int |
1 |
店铺装修编号 |
shopsId |
是 |
int |
1 |
店铺编号 |
shopsName |
是 |
string |
T.U.K |
店铺名称 |
checkStatus |
否 |
int |
100 |
店铺装修审核状态 |
createTime |
否 |
int |
1454551897 |
店铺创建时间 |
updateTime |
否 |
int |
1454551897 |
店铺更新时间 |
status |
否 |
int |
1 |
店铺装修状态 |
brands |
否 |
json |
|
品牌信息 |
id |
否 |
int |
517 |
品牌编号 |
brandName |
否 |
string |
T.U.K |
品牌名称 |
brandNameCn |
否 |
string |
|
品牌中文名称 |
brandNameEn |
否 |
string |
T.U.K |
品牌英文名称 |
isBlk |
否 |
int |
1 |
是否BLK装修 |
查询店铺装修详细信息
POST /ShopsDecoratorRest/findShopsDecoratorDetail
入参
{
"id":2,
"shopsId":700,
"isBlk":0,
"platform": "APP",
"templateName": "BASE"
}
参数名 |
必填 |
类型 |
示例值 |
描述 |
id |
是 |
int |
1 |
页数 |
shopsId |
是 |
int |
1 |
店铺编号 |
platform |
否 |
string |
APP |
平台名称(默认:APP) |
templateName |
否 |
string |
BASE |
模板名称(默认:启用的模板) |
isBlk |
是 |
int |
1 |
是否BLK装修,0-否,1-是 |
返回
{
"code": 200,
"data": {
"brandList": [
{
"brandDomain": "sctest1",
"brandIco": "http://img12.static.yhbimg.com\brandLogo/2016/05/27/16/02ec2f71466d706f0960315bced7bc9747.jpg",
"brandName": "宋超测试1",
"brandNameCn": "宋超测试1",
"brandNameEn": "sctest1",
"id": 1680,
"status": 1
}
],
"checkStatus": 300,
"createTime": 1464848048,
"id": 362,
"isBlk": 0,
"platform": "PC",
"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": "7409b9ea5a666db3808aaa48e7a9abdf",
"message": "操作成功"
}
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |是 |int |1 |店铺装修编号 |
|shopsId |是 |int |1 |店铺编号 |
|platform |是 |string |APP |平台名称 |
|templateName|是 |string |BASE |模板名称 |
|resources |是 |json | |资源 |
|isBlk |是 |int |1 |是否BLK装修,0-否,1-是 |