Authored by lingmin

Merge branch 'master' of http://git.yoho.cn/platform/yohobuy-doc

# 支付中心管理接口定义 #
支付中心管理接口定义
**1、获取支付管理列表**
... ... @@ -19,37 +19,51 @@ http://localhost:8080/platform/PayManageController/findPayManageList
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"code": 200,
"data":{
"currentPage":1
"rows":[{"id": 2,
"payName": "支付宝",
"recommendOrderPage":1,
"recommendWords":"",
"sortNumber":2,
"recommendText1":"",
"recommendText2":"",
"status":1,
"createTime":"";
"updateTime":""},{
"id": 3,
"payName": "微信",
"recommendOrderPage":1,
"recommendWords":"",
"sortNumber":1,
"recommendText1":"",
"recommendText2":"",
"status":1,
"createTime":"";
"updateTime":""}],
"pageSize":10,
"total":10,
"totalPage":1
{
"code": 200,
"data": {
"list": [
{
"createTime": "2016-07-18 16:01:20",
"id": 36,
"payName": "QQ钱包",
"recommendOrderPage": 0,
"recommendText1": "需安装QQ客户端",
"recommendWords": "",
"sortNumber": 1,
"status": 1,
"updateTime": ""
},
{
"createTime": "2016-07-18 16:00:32",
"id": 34,
"payName": "微信",
"recommendOrderPage": 0,
"recommendText1": "需安装微信客户端",
"recommendWords": "",
"sortNumber": 3,
"status": 1,
"updateTime": ""
},
{
"createTime": "2016-07-18 15:59:27",
"id": 32,
"payName": "支付宝",
"recommendOrderPage": 1,
"recommendText1": "",
"recommendWords": "推荐文案",
"sortNumber": 2,
"status": 1,
"updateTime": "2016-07-18 16:06:01"
}
],
"page": 1,
"size": 10,
"total": 3,
"totalPage": 1
},
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功"
}
"message": "操作成功"
}
**2、获取支付方式详情**
... ... @@ -70,29 +84,40 @@ code为200即为成功,否则是失败。 响应JSON格式如下所示:
http://localhost:8080/platform/PayManageController/findPayInfoById
{
"id":2
"id":34
}
**响应**
{
"code": 200,
"data": {
"id": 2,
"payName": "支付宝",
"recommendOrderPage":1,
"recommendWords":"",
"sortNumber":2,
"recommendText1":"",
"recommendText2":"",
"status":1,
"createTime":"";
"updateTime":""
},
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功"
}
{
"code": 200,
"data": {
"createTime": "2016-07-18 16:00:32",
"id": 34,
"payName": "微信",
"recommendOrderPage": 0,
"recommendText1": "需安装微信客户端",
"recommendWords": "",
"sortNumber": 3,
"status": 1,
"updateTime": ""
},
"message": "操作成功"
}
其他相应
{
"code": 201,
"message": "请求查询id为空"
}
{
"code": 201,
"message": "请求查询id不存在"
}
**3、新增支付方式**
... ... @@ -117,22 +142,48 @@ http://localhost:8080/platform/PayManageController/findPayInfoById
http://localhost:8080/platform/PayManageController/createPayMode
{
"payName":"支付宝",
"payName":"银联支付",
"recommendOrderPage":1,
"recommendWords":"推荐文案",
"sortNumber":2,
"sortNumber":7,
"recommendText1":""
}
**响应**
{
"code": 200,
"data": {},
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功"
"code": 200,
"message": "操作成功"
}
其他响应情况
{
"code": 201,
"message": "支付方式名称为空"
}
{
"code": 202,
"message": "该支付方式名称已存在"
}
{
"code": 201,
"message": "前端排序值无效"
}
{
"code": 201,
"message": "该前端排序值已存在"
}
{
"code": 201,
"message": "推荐文案为空"
}
**4、编辑支付方式详情**
... ... @@ -167,10 +218,30 @@ http://localhost:8080/platform/PayManageController/updatePayInfoById
**响应**
{
"code": 200,
"data": {},
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功"
"code": 200,
"message": "操作成功"
}
其他相应
{
"code": 201,
"message": "请求编辑id为空"
}
{
"code": 201,
"message": "前端排序值无效"
}
{
"code": 201,
"message": "该前端排序值已存在"
}
{
"code": 201,
"message": "推荐文案为空"
}
... ... @@ -197,12 +268,17 @@ http://localhost:8080/platform/PayManageController/openPayModeById
**响应**
{
"code": 200,
"data": {},
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功"
"code": 200,
"message": "操作成功"
}
其他响应
{
"code": 201,
"message": "开启请求id为空"
}
**6、关闭支付方式**
... ... @@ -227,8 +303,13 @@ http://localhost:8080/platform/PayManageController/closePayModeById
**响应**
{
"code": 200,
"data": {},
"md5": "d751713988987e9331980363e24189ce",
"message": "操作成功"
"code": 200,
"message": "操作成功"
}
其他响应
{
"code": 201,
"message": "关闭请求id为空"
}
\ No newline at end of file
... ...
# 店铺接口服务定义
---------------------
## 获取店铺列表
> 接口名: `/ShopsRest/getShopList`
### 入参
```json
{
"page":2,
"size":12,
"supplierId":950,
"brandId":928,
"checkStatus":100,
"operationStatus":1,
"checkStatusArr":"100,200,900"
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|page|int|2|第几页|
|size|int|50|每页条数|
|supplierId|int|950|供应商ID|
|brandId|int|928|品牌ID|
|checkStatus|int|100|审核状态;100 暂存 200 待审核 300 审核通过 900 驳回|
|operationStatus|int|1|操作状态; 1 店铺未创建 2 店铺已创建|
|checkStatusArr|String|200,300|必须包含的状态|
---------------------------
### 返回
```json
{
"code": 200,
"data": {
"list": [
{
"checkStatus": 200,
"createTime": "2015-11-27 15:45:19",
"shopName": "Case Scenario",
"shopRelationList": [
{
"brandId": 409,
"brandName": "Case Scenario",
"brandNameCn": "",
"brandNameEn": "Case Scenario",
"brandStatus": 1,
"supplierId": 0,
"supplierStatus": 0
}
],
"shopsId": 31,
"status": 1,
"updateTime": "2015-12-08 19:20:44"
}
],
"page": 1,
"size": 10,
"total": 79,
"totalPage": 8
},
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 获取店铺详情
> 接口名: `/ShopsRest/getShopDetailById`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
### 返回
```json
{
"code": 200,
"data": {
"checkStatus": 200,
"createTime": "2016-01-29 23:11:00",
"otherUrl": "other,other2",
"shopAddress": "地址1,地址2",
"shopDomain": "shopDomain2311",
"shopIntro": "shopIntro",
"shopLogo": "http:///yhfairshopLogo?imageView/1/w/200/h/200",
"shopName": "店铺名称1234",
"shopNature": 1,
"shopRelationList": [
{
"agreementEndTime": "2016-03-31 00:00:00",
"brandId": 178,
"brandName": "Artanky",
"brandNameCn": "",
"brandNameEn": "Artanky ",
"brandStatus": 1,
"isFreeze": "N",
"supplierId": 480,
"supplierName": "成都朋克汉堡服装有限公司",
"supplierStatus": 300
},
{
"agreementEndTime": "2017-01-31 00:00:00",
"brandId": 355,
"brandName": "TMCAZ",
"brandNameCn": "磨叽星人",
"brandNameEn": "TMCAZ",
"brandStatus": 1,
"isFreeze": "N",
"supplierId": 310,
"supplierName": "上海贺王工贸实业公司",
"supplierStatus": 300
},
{
"agreementEndTime": "2016-12-19 00:00:00",
"brandId": 1389,
"brandName": "WWTorres",
"brandNameCn": "",
"brandNameEn": "WWTorres",
"brandStatus": 1,
"isFreeze": "N",
"supplierId": 1226,
"supplierName": "上海矩乐文化发展有限公司",
"supplierStatus": 300
}
],
"shopsId": 454,
"shopsType": 2,
"status": 0,
"updateTime": "2016-01-29 23:27:05",
"websiteUrl": "https,https2"
},
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 创建店铺
> 接口名:`/ShopsRest/addShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopName|String|得宝旗舰店|店铺名称|
|shopNature|int|1|店铺性质(1 旗舰店 2 专卖店)|
|shopDomain|String|debao|店铺域名|
|createPid|int|1|创建人ID|
|shopsType|int|1|店铺模式(1-单品店;2-多品店)|
|shopLogo|String|http://img11.static.yhbimg.com/yhb-img01/2015/09/11/02/01f42dff5d5bd383af1025eea1218cbccc.jpg?imageView/{mode}/w/{width}/h/{height}|店铺logo|
|shopIntro|String|秉承以设计为核心的创新理念,用专业的思维方式将自然与科技、传统与革新、技艺与时尚三者良好融合,着重面料材质与软式廓型的品质互动,更好的诠释“less is more”的设计理念。|店铺简介|
|websiteUrl|JSON数组|["www.paperworks.com.cn"]||
|otherUrl|JSON数组|["www.paperworks.com.cn","https:\/\/jnby.tmall.com\/"]||
|shopAddress|JSON数组|||
|onCheck|int|1|是否需要审核(1-是;0-否)|
|shopRelation|JSON数组||品牌与供应商关系|
---------------------
shopRelation的json格式为:
``` json
"shopRelation":[
{
"brandId":355,
"supplierId":310,
"agreementEndTime":1485792000
},
{
"brandId":1389,
"supplierId":1226,
"agreementEndTime":1482076800
}
]
```
### 返回
返回码code为200就是成功,其余为失败。
``` json
{
"code": 200,
"message": "success."
}
```
---------------------------------------------------------------------------------------------------------
## 修改店铺
> 接口名:`/ShopsRest/updateShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|2|店铺id|
|shopName|String|得宝旗舰店|店铺名称|
|shopNature|int|1|店铺性质(1 旗舰店 2 专卖店)|
|shopDomain|String|debao|店铺域名|
|createPid|int|1|创建人ID|
|shopsType|int|1|店铺模式(1-单品店;2-多品店)|
|shopLogo|String|http://img11.static.yhbimg.com/yhb-img01/2015/09/11/02/01f42dff5d5bd383af1025eea1218cbccc.jpg?imageView/{mode}/w/{width}/h/{height}|店铺logo|
|shopIntro|String|秉承以设计为核心的创新理念,用专业的思维方式将自然与科技、传统与革新、技艺与时尚三者良好融合,着重面料材质与软式廓型的品质互动,更好的诠释“less is more”的设计理念。|店铺简介|
|websiteUrl|JSON数组|["www.paperworks.com.cn"]||
|otherUrl|JSON数组|["www.paperworks.com.cn","https:\/\/jnby.tmall.com\/"]||
|shopAddress|JSON数组|||
|onCheck|int|1|是否需要审核(1-是;0-否)|
|shopRelation|JSON数组||品牌与供应商关系|
---------------------
shopRelation的json格式为:
``` json
"shopRelation":[
{
"brandId":355,
"supplierId":310,
"agreementEndTime":1485792000
},
{
"brandId":1389,
"supplierId":1226,
"agreementEndTime":1482076800
}
]
```
### 返回
返回码code为200就是成功,其余为失败。
``` json
{
"code": 200,
"message": "success."
}
```
---------------------------------------------------------------------------------------------------------
## 关店
> 接口名: `/ShopsRest/closeShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 开店
> 接口名: `/ShopsRest/openShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 审核通过
> 接口名: `/ShopsRest/checkShopPass`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 审核拒绝
> 接口名: `/ShopsRest/checkReject`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 根据品牌id,获取品牌供应商关系(可用的供应商,并且是合同有效的)
> 接口名: `/supplier/supplier/selectSupplierByBrandId`
### 入参
```json
{
"brandId":1409
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|brandId|int|15|品牌ID|
-----------------------------
### 返回
```json
{
"code": 200,
"data": {
"list": [
{
"agreementEndTime": 1456675200,
"brandId": 1409,
"supplierId": 1301,
"supplierName": "腾讯"
},
{
"agreementEndTime": 1477843200,
"brandId": 1409,
"supplierId": 1147,
"supplierName": "北京尚视科技有限公司"
}
]
},
"message": "操作成功"
}
```
## 查询所有已经审核通过的店铺
> 接口名: `/ShopsRest/selectCheckPassShopsByName`
### 入参
```json
{
"idName":"速写CROQUIS"
}
or
{
}
```
### 注意 入参为`{}`,查询所有店铺
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|idName|String|速写CROQUIS|店铺名称|
-----------------------------
### 返回
```json
{
"code": 200,
"data": [
{
"checkStatus": 0,
"createTime": "",
"id": 22,
"shopNature": 0,
"shopsType": 0,
"status": 0,
"text": "速写CROQUIS",
"updateTime": ""
}
],
"message": "操作成功"
}
```
# 店铺接口服务定义
---------------------
## 获取店铺列表
> 接口名: `/ShopsRest/getShopList`
### 入参
```json
{
"page":2,
"size":12,
"supplierId":950,
"brandId":928,
"checkStatus":100,
"operationStatus":1,
"checkStatusArr":"100,200,900"
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|page|int|2|第几页|
|size|int|50|每页条数|
|supplierId|int|950|供应商ID|
|brandId|int|928|品牌ID|
|checkStatus|int|100|审核状态;100 暂存 200 待审核 300 审核通过 900 驳回|
|operationStatus|int|1|操作状态; 1 店铺未创建 2 店铺已创建|
|checkStatusArr|String|200,300|必须包含的状态|
---------------------------
示例
http://localhost:8088/platform/ShopsRest/getShopList
### 返回
```json
{
"code": 200,
"data": {
"list": [
{
"checkStatus": 200,
"createTime": "2015-11-27 15:45:19",
"shopName": "Case Scenario",
"shopRelationList": [
{
"brandId": 409,
"brandName": "Case Scenario",
"brandNameCn": "",
"brandNameEn": "Case Scenario",
"brandStatus": 1,
"supplierId": 0,
"supplierStatus": 0
}
],
"shopsId": 31,
"status": 1,
"updateTime": "2015-12-08 19:20:44"
}
],
"page": 1,
"size": 10,
"total": 79,
"totalPage": 8
},
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 获取店铺详情
> 接口名: `/ShopsRest/getShopDetailById`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/getShopDetailById
### 返回
```json
{
"code": 200,
"data": {
"checkStatus": 200,
"createTime": "2016-01-29 23:11:00",
"otherUrl": "other,other2",
"shopAddress": "地址1,地址2",
"shopDomain": "shopDomain2311",
"shopIntro": "shopIntro",
"shopLogo": "http:///yhfairshopLogo?imageView/1/w/200/h/200",
"shopName": "店铺名称1234",
"shopNature": 1,
"shopRelationList": [
{
"agreementEndTime": "2016-03-31 00:00:00",
"brandId": 178,
"brandName": "Artanky",
"brandNameCn": "",
"brandNameEn": "Artanky ",
"brandStatus": 1,
"isFreeze": "N",
"supplierId": 480,
"supplierName": "成都朋克汉堡服装有限公司",
"supplierStatus": 300
},
{
"agreementEndTime": "2017-01-31 00:00:00",
"brandId": 355,
"brandName": "TMCAZ",
"brandNameCn": "磨叽星人",
"brandNameEn": "TMCAZ",
"brandStatus": 1,
"isFreeze": "N",
"supplierId": 310,
"supplierName": "上海贺王工贸实业公司",
"supplierStatus": 300
},
{
"agreementEndTime": "2016-12-19 00:00:00",
"brandId": 1389,
"brandName": "WWTorres",
"brandNameCn": "",
"brandNameEn": "WWTorres",
"brandStatus": 1,
"isFreeze": "N",
"supplierId": 1226,
"supplierName": "上海矩乐文化发展有限公司",
"supplierStatus": 300
}
],
"shopsId": 454,
"shopsType": 2,
"status": 0,
"updateTime": "2016-01-29 23:27:05",
"websiteUrl": "https,https2"
},
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 创建店铺
> 接口名:`/ShopsRest/addShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopName|String|得宝旗舰店|店铺名称|
|shopNature|int|1|店铺性质(1 旗舰店 2 专卖店)|
|shopDomain|String|debao|店铺域名|
|createPid|int|1|创建人ID|
|shopsType|int|1|店铺模式(1-单品店;2-多品店)|
|shopLogo|String|http://img11.static.yhbimg.com/yhb-img01/2015/09/11/02/01f42dff5d5bd383af1025eea1218cbccc.jpg?imageView/{mode}/w/{width}/h/{height}|店铺logo|
|shopIntro|String|秉承以设计为核心的创新理念,用专业的思维方式将自然与科技、传统与革新、技艺与时尚三者良好融合,着重面料材质与软式廓型的品质互动,更好的诠释“less is more”的设计理念。|店铺简介|
|websiteUrl|JSON数组|["www.paperworks.com.cn"]||
|otherUrl|JSON数组|["www.paperworks.com.cn","https:\/\/jnby.tmall.com\/"]||
|shopAddress|JSON数组|||
|onCheck|int|1|是否需要审核(1-是;0-否)|
|shopRelation|JSON数组||品牌与供应商关系|
---------------------
shopRelation的json格式为:
``` json
"shopRelation":[
{
"brandId":355,
"supplierId":310,
"agreementEndTime":1485792000
},
{
"brandId":1389,
"supplierId":1226,
"agreementEndTime":1482076800
}
]
```
示例
http://localhost:8088/platform/ShopsRest/addShops
### 返回
返回码code为200就是成功,其余为失败。
``` json
{
"code": 200,
"message": "success."
}
```
---------------------------------------------------------------------------------------------------------
## 修改店铺
> 接口名:`/ShopsRest/updateShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|2|店铺id|
|shopName|String|得宝旗舰店|店铺名称|
|shopNature|int|1|店铺性质(1 旗舰店 2 专卖店)|
|shopDomain|String|debao|店铺域名|
|createPid|int|1|创建人ID|
|shopsType|int|1|店铺模式(1-单品店;2-多品店)|
|shopLogo|String|http://img11.static.yhbimg.com/yhb-img01/2015/09/11/02/01f42dff5d5bd383af1025eea1218cbccc.jpg?imageView/{mode}/w/{width}/h/{height}|店铺logo|
|shopIntro|String|秉承以设计为核心的创新理念,用专业的思维方式将自然与科技、传统与革新、技艺与时尚三者良好融合,着重面料材质与软式廓型的品质互动,更好的诠释“less is more”的设计理念。|店铺简介|
|websiteUrl|JSON数组|["www.paperworks.com.cn"]||
|otherUrl|JSON数组|["www.paperworks.com.cn","https:\/\/jnby.tmall.com\/"]||
|shopAddress|JSON数组|||
|onCheck|int|1|是否需要审核(1-是;0-否)|
|shopRelation|JSON数组||品牌与供应商关系|
---------------------
shopRelation的json格式为:
``` json
"shopRelation":[
{
"brandId":355,
"supplierId":310,
"agreementEndTime":1485792000
},
{
"brandId":1389,
"supplierId":1226,
"agreementEndTime":1482076800
}
]
```
示例
http://localhost:8088/platform/ShopsRest/updateShops
### 返回
返回码code为200就是成功,其余为失败。
``` json
{
"code": 200,
"message": "success."
}
```
---------------------------------------------------------------------------------------------------------
## 有货关店
> 接口名: `/ShopsRest/closeShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/closeShops
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 有货开店
> 接口名: `/ShopsRest/openShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/openShops
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## BLK开店
> 接口名: `/ShopsRest/openBlkShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/openBlkShops
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## BLK关店
> 接口名: `/ShopsRest/closeBlkShops`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/closeBlkShops
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 审核通过
> 接口名: `/ShopsRest/checkShopPass`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/checkShopPass
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 审核拒绝
> 接口名: `/ShopsRest/checkReject`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|shopsId|int|15|店铺ID|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/checkReject
### 返回
```json
{
"code": 200,
"message": "操作成功"
}
```
---------------------------------------------------------------------------------------------------------
## 根据品牌id,获取品牌供应商关系(可用的供应商,并且是合同有效的)
> 接口名: `/supplier/supplier/selectSupplierByBrandId`
### 入参
```json
{
"brandId":1409
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|brandId|int|15|品牌ID|
-----------------------------
示例
http://localhost:8088/platform/supplier/supplier/selectSupplierByBrandId
### 返回
```json
{
"code": 200,
"data": {
"list": [
{
"agreementEndTime": 1456675200,
"brandId": 1409,
"supplierId": 1301,
"supplierName": "腾讯"
},
{
"agreementEndTime": 1477843200,
"brandId": 1409,
"supplierId": 1147,
"supplierName": "北京尚视科技有限公司"
}
]
},
"message": "操作成功"
}
```
## 查询所有已经审核通过的店铺
> 接口名: `/ShopsRest/selectCheckPassShopsByName`
### 入参
```json
{
"idName":"速写CROQUIS"
}
or
{
}
```
### 注意 入参为`{}`,查询所有店铺
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|idName|String|速写CROQUIS|店铺名称|
-----------------------------
示例
http://localhost:8088/platform/ShopsRest/selectCheckPassShopsByName
### 返回
```json
{
"code": 200,
"data": [
{
"checkStatus": 0,
"createTime": "",
"id": 22,
"shopNature": 0,
"shopsType": 0,
"status": 0,
"text": "速写CROQUIS",
"updateTime": ""
}
],
"message": "操作成功"
}
```
... ...
... ... @@ -7,56 +7,17 @@
```json
{
"shopsId":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"
{
"shopsId":700,
"appType":1,
"platform": "APP",
"templateName": "BASE",
"resources":{
allHotProducts:{data:[],id:},
shopTopBanner_base:{data:[],id:},
hotProducts:{data:[],id:}
}
},
{
"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
}
]
},
{
"id":10,
"name": "hotProducts",
"data": [
50000881,
50000882,
50000883,
50000884,
50000885,
50000886,
50000887,
50000888
]
}
]
}
}
```
|参数名 |必填 |类型 |示例值 |描述 |
... ... @@ -65,26 +26,26 @@
|platform |否 |string |APP |平台名称 |
|templateName|否 |string |BASE |模板名称 |
|resources |否 |json | |资源 |
|appType |是 |int |1 |0-有货,1-BLK|
#### 资源描述-店铺头部横幅
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |否 |int |7 |资源编号 |
|name |是 |string |shopTopBanner |资源名称 |
|data |是 |json | |资源内容 |
|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|店铺头部横幅图片|
|isShowShopName |否 |string |Y |是否显示店铺名称|
|allHotProducts |否 |string | |热销商品(全量20条数据) |
|shopTopBanner_base |否 |string | |店铺Banner(基础模板)|
|hotProducts |否 |string | |热销商品|
...
#### 资源描述-商品详情头部横幅
#### 资源内容描述
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |否 |int |8 |资源编号 |
|name |是 |string |productDetailTopBanner |资源名称 |
|data |是 |json | |资源内容 |
|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|商品详情头部横幅图片|
...
### 返回
... ... @@ -120,10 +81,10 @@
{
"page":1,
"size":20,
"shopsId":1,
"checkStatus": 100,
"supplierId": 1,
"brandId": 1
"brandId": 1,
"appType":0
}
```
... ... @@ -135,37 +96,254 @@
|checkStatus |否 |int |100 |审核状态 |
|supplierId |否 |int |1 |供应商编号 |
|brandId |否 |int |1 |品牌编号 |
|appType |否 |int |1 |0-有货,1-BLK|
### 返回
```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,
"updateTime":1454551897,
"status":1,
"brands":[{
"id":517,
"brandName":"T.U.K",
"brandNameCn":"",
"brandNameEn":"T.U.K"
}]
}]
}
}
{
"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
},
{
"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,
"appType": 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,
"appType": 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,
"appType": 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,
"appType": 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,
"appType": 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": "操作成功"
}
```
|参数名 |必填 |类型 |示例值 |描述 |
... ... @@ -187,9 +365,9 @@
|brandName |否 |string |T.U.K |品牌名称 |
|brandNameCn |否 |string | |品牌中文名称 |
|brandNameEn |否 |string |T.U.K |品牌英文名称 |
|appType |否 |int |1 |0-有货,1-BLK |
## 查询店铺装修详细信息
## 查询有货店铺装修详细信息
> POST `/ShopsDecoratorRest/findShopsDecoratorDetail`
### 入参
... ... @@ -197,7 +375,7 @@
```json
{
"id":2,
"shopsId":700
"platform": "APP",
"templateName": "BASE"
}
... ... @@ -205,7 +383,7 @@
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |是 |int |1 |页数 |
|shopsId |是 |int |1 |店铺编号 |
|platform |否 |string |APP |平台名称(默认:APP) |
|templateName|否 |string |BASE |模板名称(默认:启用的模板)|
... ... @@ -213,21 +391,691 @@
```json
{
"code": 200,
"message": "操作成功",
"data":{
"id":1,
"platform":"APP",
"templateName":"BASE",
"resources":[]
{
"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,
"appType": 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 | |资源 |
|appType |是 |int |1 |0-有货,1-BLK |
## 查询BLK店铺装修详细信息
> POST `/ShopsDecoratorRest/findBlkShopsDecoratorDetail`
### 入参
```json
{
"shopsId":704,
"platform": "APP",
"templateName": "BASE"
}
```
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|shopsId |是 |int |1 |店铺编号 |
|platform |否 |string |APP |平台名称(默认:APP) |
|templateName|否 |string |BASE |模板名称(默认:启用的模板)|
### 返回
```json
{
"code": 200,
"data": {
"appType": 0,
"brandList": [
{
"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
},
{
"brandDomain": "happy",
"brandIco": "http://img11.static.yhbimg.com\brandLogo/2016/05/30/16/0137290b26989c2bbc53c45e6c74b6f23a.jpg",
"brandName": "开心日",
"brandNameCn": "开心日",
"brandNameEn": "happy",
"id": 1678,
"status": 1
},
{
"brandDomain": "dirtlun",
"brandIco": "http://img12.static.yhbimg.com\brandLogo/2016/03/23/13/02bcd71ac660607888bd58af8d21b8a0c1.jpg",
"brandName": "第二轮",
"brandNameEn": "第二轮",
"id": 1559,
"status": 1
},
{
"brandDomain": "HLZJ",
"brandIco": "http://img10.static.yhbimg.com\brandLogo/2016/06/01/10/01b40859bff6c925785b363b8c6e294d1b.jpg",
"brandName": "海澜之家",
"brandNameCn": "海澜之家",
"brandNameEn": "HLZJ",
"id": 1545,
"status": 1
}
],
"checkStatus": 200,
"createTime": 1467698837,
"id": 374,
"platform": "PC",
"resources": {
"allHotProducts": {
"data": [],
"id": 5736
},
"allHotProducts_APP": {
"data": [],
"id": 5770
},
"allNewProducts": {
"data": [],
"id": 5768
},
"brandBrowse": {
"data": [
{
"brandDomain": "HLZJ",
"brandIco": "http://img11.static.yhbimg.com/brandLogo/2016/06/01/10/01b40859bff6c925785b363b8c6e294d1b.jpg",
"brandName": "海澜之家",
"brandNameCn": "海澜之家",
"brandNameEn": "HLZJ",
"id": 1545,
"status": 1
}
],
"id": 5740
},
"goodsTabBar": {
"data": {
"hot": [
{
"name": "MORE",
"position": 0,
"url": ""
}
],
"new": [
{
"name": "MORE",
"position": 0,
"url": ""
}
]
},
"id": 5756
},
"hotProducts": {
"data": [],
"id": 5764
},
"hotProducts_APP": {
"data": [],
"id": 5758,
"isUsed": "N"
},
"hotRecommend": {
"data": [
{
"__index": 0,
"_num": 0,
"position": 1,
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/0291ee4b7d640ee67727eb65b955ad5f6e.png",
"title": "",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"id": 5746,
"title": ""
},
"largeSlideImg": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2017-03-02 00:00:00",
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/0228f0b6a43087ba2b46527c4e240b62f7.jpg",
"startTime": "2016-06-06 00:00:00",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"position": 1
}
],
"id": 5760
},
"largeSlideImg_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2017-03-02 00:00:00",
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/0228f0b6a43087ba2b46527c4e240b62f7.jpg",
"startTime": "2016-06-06 00:00:00",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"isUsed": "Y",
"position": 1
}
],
"id": 5766,
"isUsed": "Y"
},
"navigationBar": {
"data": [
{
"name": "",
"url": ""
},
{
"name": "",
"url": ""
},
{
"name": "",
"url": ""
}
],
"id": 5752
},
"newProducts": {
"data": [],
"id": 5754
},
"oneRowTwoColImages": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2017-02-17 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/06/06/21/022b42578a35495c9c99a4c58a60c6e4bc.png",
"startTime": "2016-06-06 00:00:00",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"position": 2
},
{
"__index": 1,
"_num": 1,
"data": [
{
"endTime": "2017-03-17 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/06/06/21/0214abfe59d026a662fb8e30614d0cc4e8.jpg",
"startTime": "2016-06-06 00:00:00",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"position": 1
}
],
"id": 5734
},
"oneRowTwoColImages_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"data": [
{
"endTime": "2017-02-17 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/06/06/21/022b42578a35495c9c99a4c58a60c6e4bc.png",
"startTime": "2016-06-06 00:00:00",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"isUsed": "Y",
"position": 2
},
{
"__index": 1,
"_num": 1,
"data": [
{
"endTime": "2017-03-17 00:00:00",
"src": "http://img12.static.yhbimg.com/yhb-img02/2016/06/06/21/0214abfe59d026a662fb8e30614d0cc4e8.jpg",
"startTime": "2016-06-06 00:00:00",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"isUsed": "Y",
"position": 1
}
],
"id": 5748,
"isUsed": "Y"
},
"recommend": {
"data": [
{
"__index": 0,
"_num": 0,
"enName": "",
"name": "默认商品",
"position": 1,
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/026a7b24963a63df70373de76aa09db96c.jpg",
"title": "经典推荐",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"id": 5742,
"title": "经典推荐"
},
"recommend_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"enName": "",
"isUsed": "Y",
"name": "默认商品",
"position": 1,
"src": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/026a7b24963a63df70373de76aa09db96c.jpg",
"url": "http://feature.yoho.cn/0112/0112APPSALE6BOY/index.html?title=冬著劲减&share_id=406"
}
],
"id": 5750,
"isUsed": "Y"
},
"shopTopBanner": {
"data": [
{
"__index": 0,
"_num": 0,
"detailSrc": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/026be8879946577cb68a8b4c5237993192.jpg",
"isShowShopName": "Y",
"shopSrc": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/02d6b6c70485c52512f1222cfdcea0339b.jpg"
}
],
"id": 5738
},
"shopTopBanner_APP": {
"data": [
{
"__index": 0,
"_num": 0,
"detailSrc": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/026be8879946577cb68a8b4c5237993192.jpg",
"isShowShopName": "Y",
"isUsed": "N",
"shopSrc": "http://img13.static.yhbimg.com/yhb-img02/2016/06/06/21/02d6b6c70485c52512f1222cfdcea0339b.jpg"
}
],
"id": 5744,
"isUsed": "N"
},
"shopTopBanner_base": {
"data": [
{
"detailSrc": "http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png",
"isShowShopName": "N",
"shopSrc": "http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png"
}
],
"id": 5762
},
"signboard": {
"data": [
{
"data": [
{
"endTime": "",
"src": "http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png",
"startTime": "",
"url": ""
}
],
"position": 1
}
],
"id": 5732
}
},
"shopName": "sctest4",
"shopsId": 704,
"status": 0,
"templateType": "2",
"updateTime": 1467790021
},
"md5": "f0ade3de24aad7cae2089870388c6123",
"message": "操作成功"
}
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |是 |int |1 |店铺装修编号 |
|shopsId |是 |int |1 |店铺编号 |
|platform |是 |string |APP |平台名称 |
|templateName|是 |string |BASE |模板名称 |
|resources |是 |json | |资源 |
\ No newline at end of file
|resources |是 |json | |资源 |
|appType |是 |int |1 |0-有货,1-BLK |
... ...