|
|
# 标签接口服务定义
|
|
|
---------------------
|
|
|
|
|
|
# 销售类目的标签查询
|
|
|
|
|
|
> 接口名: `/salesCategoryLabel/querySalesCategoryLabelList`
|
|
|
|
|
|
### 入参
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|-------|----|----|----|-------|
|
|
|
|categoryId|String|52|销售类目的id|是|
|
|
|
|state|String|1|状态 1:开启, 0:关闭|否|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "querySalesCategoryLabelList success",
|
|
|
"data": [{
|
|
|
"labelId": "1",
|
|
|
"labelName": "版型",
|
|
|
"categoryId": "1",
|
|
|
"orderBy": "0",
|
|
|
"parentId": "0",
|
|
|
"labelNumber": "1",
|
|
|
"createTime": "",
|
|
|
"status": "1",
|
|
|
"updateTime": ""
|
|
|
}, {
|
|
|
"labelId": "1",
|
|
|
"labelName": "版型",
|
|
|
"categoryId": "1",
|
|
|
"orderBy": "0",
|
|
|
"parentId": "0",
|
|
|
"labelNumber": "1",
|
|
|
"createTime": "",
|
|
|
"status": "1",
|
|
|
"updateTime": ""
|
|
|
}, {
|
|
|
"labelId": "1",
|
|
|
"labelName": "版型",
|
|
|
"categoryId": "1",
|
|
|
"orderBy": "0",
|
|
|
"parentId": "0",
|
|
|
"labelNumber": "1",
|
|
|
"createTime": "",
|
|
|
"status": "1",
|
|
|
"updateTime": ""
|
|
|
}]
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
# 更新销售类目的标签接口
|
|
|
|
|
|
> 接口名: `/salesCategoryLabel/updateSalesCategoryLabel`
|
|
|
|
|
|
### 入参
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|labelId|String|1|标签id|是|
|
|
|
|labelName|String|袖长|标签名称|否|
|
|
|
|categoryId|string||关联的销售类目id|否|
|
|
|
|parentId|string|1|父标签id|否|
|
|
|
|orderBy|string|0|排序|否|
|
|
|
|labelLevel|string|1|标签等级|否|
|
|
|
|status|string|0|销售类目状态1:开启 0:关闭 |否
|
|
|
---------------------
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "updateSalesCategoryLabel success."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
# 批量添加标签接口
|
|
|
|
|
|
> 接口名: `/salesCategory/addSalesCategory`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|labelName|String|袖长|标签名称|否|
|
|
|
|categoryId|string||关联的销售类目id|否|
|
|
|
|parentId|string|1|父标签id|否|
|
|
|
|orderBy|string|0|排序|否|
|
|
|
|labelLevel|string|1|标签等级|否|
|
|
|
|status|string|0|销售类目状态1:开启 0:关闭 |否
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "addSalesCategory success."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|