Showing
1 changed file
with
121 additions
and
0 deletions
@@ -46,5 +46,126 @@ plustar管理接口服务定义 | @@ -46,5 +46,126 @@ plustar管理接口服务定义 | ||
46 | } | 46 | } |
47 | 47 | ||
48 | ``` | 48 | ``` |
49 | +## 添加plustar分类接口 | ||
50 | + | ||
51 | +> 接口名: '/guang/plustar/addPlustar' | ||
52 | + | ||
53 | +### 入参 | ||
54 | + | ||
55 | +------------------------- | ||
56 | +|属性名称|类型|例子|说明| | ||
57 | +|--------|----|----|----| | ||
58 | +|brandId|String|30|品牌id| | ||
59 | +|brandType|String|1|频道id| | ||
60 | +|coverImg|String|http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg|封面图| | ||
61 | +|bannerImg|String[]|["http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg?imageView/2/w/300/h/300"]|banner图| | ||
62 | +|bannerTitle|String|广泛丰厚的|banner标签| | ||
63 | +|orderBy|String|23|排序| | ||
64 | +|gender|String|1|性别| | ||
65 | +|status|String|1|是否可用| | ||
66 | +--------------------- | ||
67 | + | ||
68 | +### 返回 | ||
69 | + | ||
70 | +``` json | ||
71 | +{ | ||
72 | + "code":200, | ||
73 | + "message":"添加成功!" | ||
74 | +} | ||
75 | + | ||
76 | +``` | ||
77 | + | ||
78 | + | ||
79 | +## 编辑plustar分类接口 | ||
80 | + | ||
81 | +> 接口名: '/guang/plustar/updatePlustar' | ||
82 | + | ||
83 | +### 入参 | ||
84 | + | ||
85 | +------------------------- | ||
86 | +|属性名称|类型|例子|说明| | ||
87 | +|--------|----|----|----| | ||
88 | +|id|String|450|plustar ID| | ||
89 | +|brandId|String|30|品牌id| | ||
90 | +|brandType|String|1|频道id| | ||
91 | +|coverImg|String[]|http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg|封面图| | ||
92 | +|bannerImg|String|["http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg?imageView/2/w/300/h/300"]|banner图| | ||
93 | +|bannerTitle|String|广泛丰厚的|banner标签| | ||
94 | +|orderBy|String|23|排序| | ||
95 | +|gender|String|1|性别| | ||
96 | +|status|String|1|是否可用| | ||
97 | +--------------------- | ||
98 | + | ||
99 | +### 返回 | ||
100 | + | ||
101 | +``` json | ||
102 | +{ | ||
103 | + "code":200, | ||
104 | + "message":"修改成功!" | ||
105 | +} | ||
106 | + | ||
107 | +``` | ||
108 | + | ||
109 | +## 编辑时plustar分类详情接口 | ||
110 | + | ||
111 | +> 接口名: '/guang/plustar/getDetail' | ||
112 | + | ||
113 | +### 入参 | ||
114 | + | ||
115 | +------------------------- | ||
116 | +|属性名称|类型|例子|说明| | ||
117 | +|--------|----|----|----| | ||
118 | +|id|int|43|分类id| | ||
119 | +--------------------- | ||
120 | + | ||
121 | +### 返回 | ||
122 | + | ||
123 | +``` json | ||
124 | +{ | ||
125 | + "code":200, | ||
126 | + "message":"操作成功", | ||
127 | + "data": { | ||
128 | + "id": "438", | ||
129 | + "bannerTitle": "达到的说法的广泛丰厚的",//banner标题 | ||
130 | + "brandId": "30", //品牌id | ||
131 | + "brandType": "1", //频道id | ||
132 | + "categoryName": "潮流经典", //频道名称 | ||
133 | + "coverImg": "http://img11.static.yhbimg.com/yhb-img01/2016/03/28/08/01b4288ca7b208d74dc0ccfdc25c767ede.jpg?imageView/{mode}/w/{width}/h/{height}",//封面图 | ||
134 | + "bannerImg": [ | ||
135 | + "http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02a4da74a108380e93a33dc5eb91b42f2f.jpg?imageView/2/w/300/h/300" | ||
136 | + ], //banner图 | ||
137 | + "gender": "1", //性别 1.男2.女3.通用 | ||
138 | + "isDifferent": "1", //是否区分男女 1区分 2不区分 | ||
139 | + "isRecommend": "2", //是否推荐 1推荐 2不推荐 | ||
140 | + "orderBy": "2", //排序 | ||
141 | + "status": "1", //是否可用 1可用 2不可用 | ||
142 | + "updateTime": 1459241471 //修改时间 | ||
143 | + } | ||
144 | +} | ||
145 | + | ||
146 | +``` | ||
147 | + | ||
148 | + | ||
149 | +## 删除plustar分类接口 | ||
150 | + | ||
151 | +> 接口名: '/guang/plustar/delPlustar' | ||
152 | + | ||
153 | +### 入参 | ||
154 | + | ||
155 | +------------------------- | ||
156 | +|属性名称|类型|例子|说明| | ||
157 | +|--------|----|----|----| | ||
158 | +|id|int|43|plustar id| | ||
159 | +--------------------- | ||
160 | + | ||
161 | +### 返回 | ||
162 | + | ||
163 | +``` json | ||
164 | +{ | ||
165 | + "code":200, | ||
166 | + "message":"删除成功!" | ||
167 | +} | ||
168 | + | ||
169 | +``` | ||
49 | 170 | ||
50 | ``` | 171 | ``` |
-
Please register or login to post a comment