...
|
...
|
@@ -46,5 +46,126 @@ plustar管理接口服务定义 |
|
|
}
|
|
|
|
|
|
```
|
|
|
## 添加plustar分类接口
|
|
|
|
|
|
> 接口名: '/guang/plustar/addPlustar'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|brandId|String|30|品牌id|
|
|
|
|brandType|String|1|频道id|
|
|
|
|coverImg|String|http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg|封面图|
|
|
|
|bannerImg|String[]|["http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg?imageView/2/w/300/h/300"]|banner图|
|
|
|
|bannerTitle|String|广泛丰厚的|banner标签|
|
|
|
|orderBy|String|23|排序|
|
|
|
|gender|String|1|性别|
|
|
|
|status|String|1|是否可用|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"添加成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 编辑plustar分类接口
|
|
|
|
|
|
> 接口名: '/guang/plustar/updatePlustar'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|String|450|plustar ID|
|
|
|
|brandId|String|30|品牌id|
|
|
|
|brandType|String|1|频道id|
|
|
|
|coverImg|String[]|http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg|封面图|
|
|
|
|bannerImg|String|["http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg?imageView/2/w/300/h/300"]|banner图|
|
|
|
|bannerTitle|String|广泛丰厚的|banner标签|
|
|
|
|orderBy|String|23|排序|
|
|
|
|gender|String|1|性别|
|
|
|
|status|String|1|是否可用|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"修改成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
## 编辑时plustar分类详情接口
|
|
|
|
|
|
> 接口名: '/guang/plustar/getDetail'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|43|分类id|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"操作成功",
|
|
|
"data": {
|
|
|
"id": "438",
|
|
|
"bannerTitle": "达到的说法的广泛丰厚的",//banner标题
|
|
|
"brandId": "30", //品牌id
|
|
|
"brandType": "1", //频道id
|
|
|
"categoryName": "潮流经典", //频道名称
|
|
|
"coverImg": "http://img11.static.yhbimg.com/yhb-img01/2016/03/28/08/01b4288ca7b208d74dc0ccfdc25c767ede.jpg?imageView/{mode}/w/{width}/h/{height}",//封面图
|
|
|
"bannerImg": [
|
|
|
"http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg?imageView/2/w/300/h/300"
|
|
|
], //banner图
|
|
|
"gender": "1", //性别 1.男2.女3.通用
|
|
|
"isDifferent": "1", //是否区分男女 1区分 2不区分
|
|
|
"isRecommend": "2", //是否推荐 1推荐 2不推荐
|
|
|
"orderBy": "2", //排序
|
|
|
"status": "1", //是否可用 1可用 2不可用
|
|
|
"updateTime": 1459241471 //修改时间
|
|
|
}
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 删除plustar分类接口
|
|
|
|
|
|
> 接口名: '/guang/plustar/delPlustar'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|43|plustar id|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"删除成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|