店铺装修接口
保存店铺装修系信息
POST /shops/decorator/saveShopsDecorator
入参
{
"shopsId":1,
"platform": "APP",
"templateName": "BASE",
"resources": [
{
"name": "shopTopBanner",
"data": {
"src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png",
"isShowShopName": "Y"
}
},
{
"name": "productDetailTopBanner",
"data": {
"src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/015}5598441256e46ec285a8ea64e762394.png"
}
},
{
"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
}
]
},
{
"name": "hotProducts",
"data": [
50000881,
50000882,
50000883,
50000884,
50000885,
50000886,
50000887,
50000888
]
}
]
}
参数名 |
必填 |
类型 |
示例值 |
描述 |
shopsId |
是 |
int |
1 |
店铺编号 |
platform |
否 |
string |
APP |
平台名称 |
templateName |
否 |
string |
BASE |
模板名称 |
resources |
否 |
json |
|
资源 |
资源描述-店铺头部横幅
资源描述-商品详情头部横幅
返回
{
"code": 200,
"message": "操作成功"
}