|
|
plustar分类管理接口服务定义
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
|
|
## plustar分类列表查询
|
|
|
|
|
|
> 接口名: '/guang/plustarcategory/getList'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
无
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"操作成功",
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"id": 4, //分类id
|
|
|
"categoryName": "设计新潮", //分类名称
|
|
|
"contentCode":"b714c25f503ab4e6bc143a42d1404cbb",//资源位码(head)
|
|
|
"contentCodeFoot":"f5d0b31f4ce77e6f21f47215a88ed22d",//资源位码(foot)
|
|
|
"createTime": 1447929410, //创建时间
|
|
|
"status": 1 //状态
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 添加plustar分类接口
|
|
|
|
|
|
> 接口名: '/guang/plustarcategory/addCategory'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|categoryName|String|潮流原创|分类名称|
|
|
|
|contentCode|String|b714c25f503ab4e6bc143a42d1|资源位码(head)|
|
|
|
|contentCodeFoot|String|f5d0b31f4ce77e6f21f4721|资源位码(foot)|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"添加成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 编辑plustar分类接口
|
|
|
|
|
|
> 接口名: '/guang/plustarcategory/updateCategory'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|5|分类ID|
|
|
|
|categoryName|String|潮流原创|分类名称|
|
|
|
|contentCode|String|b714c25f503ab4e6bc143a42d1|资源位码(head)|
|
|
|
|contentCodeFoot|String|f5d0b31f4ce77e6f21f4721|资源位码(foot)|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"修改成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
## 编辑时plustar分类详情接口
|
|
|
|
|
|
> 接口名: '/guang/plustarcategory/getDetail'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|4|分类id|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"操作成功",
|
|
|
"data": {
|
|
|
"id": 4, //分类id
|
|
|
"categoryName": "设计新潮", //分类名称
|
|
|
"contentCode": "b714c25f503ab4e6bc143a42d1404cbb", //资源位码(head)
|
|
|
"contentCodeFoot":"f5d0b31f4ce77e6f21f47215a88ed22d",//资源位码(foot)
|
|
|
"createTime": 1447929410, //创建时间
|
|
|
"status": 1 //状态
|
|
|
}
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 删除plustar分类接口
|
|
|
|
|
|
> 接口名: '/guang/plustarcategory/delCategory'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|43|分类id|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"删除成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|