Showing
1 changed file
with
312 additions
and
280 deletions
1 | -新潮教室签到 | ||
2 | ------------- | ||
3 | - | ||
4 | -## 1. 获取当前用户亲密度,排名 | ||
5 | - | ||
6 | -`method=app.starClass.rankInfo` | ||
7 | - | ||
8 | -#### 入参 | ||
9 | - | ||
10 | -| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
11 | -|:---------|---------:|----------:|-----:|-------:|-----:| | ||
12 | -| uid | int | 否 | 213 | 0 |用户id| | ||
13 | - | ||
14 | -#### 出参 | ||
15 | - | ||
16 | -```json | ||
17 | -{ | ||
18 | - "alg": "SALT_MD5", | ||
19 | - "code": 200, | ||
20 | - "data": { | ||
21 | - // 如果没有签过到,会显示零 | ||
22 | - "userNum": 10, | ||
23 | - // 如果没有签过到,会没有数据 | ||
24 | - "userRank": 2 | ||
25 | - }, | ||
26 | - "md5": "fcf7791bac08abb80ef3a2b27964386c", | ||
27 | - "message": "获取用户亲密度成功" | ||
28 | -} | ||
29 | -``` | ||
30 | - | ||
31 | -## 2.签到 | ||
32 | - | ||
33 | -`method=app.starClass.sign` | ||
34 | - | ||
35 | -#### 入参 | ||
36 | - | ||
37 | -| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
38 | -|:---------|---------:|----------:|-----:|-------:|-----:| | ||
39 | -| uid | int | 否 | 213 | 0 |用户id| | ||
40 | - | ||
41 | -#### 出参 | ||
42 | - | ||
43 | -```json | ||
44 | -{ | ||
45 | - "alg": "SALT_MD5", | ||
46 | - "code": 200, | ||
47 | - "data": { | ||
48 | - // 本次增加的亲密度 | ||
49 | - "addNum": 10, | ||
50 | - // 签到记录 | ||
51 | - "logs": [ | ||
52 | - { | ||
53 | - "addNum": 10, | ||
54 | - "createTime": 1460112775, | ||
55 | - "id": 211, | ||
56 | - "starId": 1, | ||
57 | - "type": 1, | ||
58 | - "uid": 3703860 | ||
59 | - } | ||
60 | - ], | ||
61 | - // 前三名 | ||
62 | - "rankList": [ | ||
63 | - { | ||
64 | - "num": 10, | ||
65 | - "uid": 3566199, | ||
66 | - "username": "136****8114@yohoinc.com" | ||
67 | - }, | ||
68 | - { | ||
69 | - "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
70 | - "num": 10, | ||
71 | - "uid": 3566423, | ||
72 | - "username": "黄德才" | ||
73 | - }, | ||
74 | - { | ||
75 | - "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
76 | - "num": 10, | ||
77 | - "uid": 3703860, | ||
78 | - "username": "曹苒" | ||
79 | - } | ||
80 | - ] | ||
81 | - }, | ||
82 | - "md5": "450edbd92076dfac74701cb6421f68ae", | ||
83 | - "message": "获取用户签到信息成功" | ||
84 | -} | ||
85 | -``` | ||
86 | - | ||
87 | -## 3.转发 | ||
88 | - | ||
89 | -`method=app.starClass.forward` | ||
90 | - | ||
91 | -#### 入参 | ||
92 | - | ||
93 | -| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
94 | -|:---------|---------:|----------:|-----:|-------:|-----:| | ||
95 | -| uid | int | 否 | 213 | 0 |用户id| | ||
96 | - | ||
97 | -#### 出参 | ||
98 | - | ||
99 | -```json | ||
100 | -{ | ||
101 | - "alg": "SALT_MD5", | ||
102 | - "code": 200, | ||
103 | - "data": 10, // 本次增加的分数 | ||
104 | - "md5": "9f6ed5823862ae9009fc8084516132da", | ||
105 | - "message": "用户转发" | ||
106 | -} | ||
107 | -``` | ||
108 | - | ||
109 | -## 前 100 | ||
110 | - | ||
111 | -`method=app.starClass.top100` | ||
112 | - | ||
113 | -#### 出参 | ||
114 | - | ||
115 | -```json | ||
116 | -{ | ||
117 | - "alg": "SALT_MD5", | ||
118 | - "code": 200, | ||
119 | - "data": [ | ||
120 | - { | ||
121 | - "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
122 | - "num": 20, | ||
123 | - "uid": 3703860, | ||
124 | - "username": "曹苒" | ||
125 | - }, | ||
126 | - { | ||
127 | - "num": 10, | ||
128 | - "uid": 3566199, | ||
129 | - "username": "136****8114@yohoinc.com" | ||
130 | - }, | ||
131 | - { | ||
132 | - "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
133 | - "num": 10, | ||
134 | - "uid": 3566423, | ||
135 | - "username": "黄德才" | ||
136 | - } | ||
137 | - ], | ||
138 | - "md5": "fae5f8b593b1c505eb36db1d29a80eca", | ||
139 | - "message": "top100" | ||
140 | -} | ||
141 | -``` | ||
142 | - | ||
143 | -## 4.获得星潮教室中星搭配的文章 | ||
144 | -星搭配文章取逛后台新增的标签分类‘星潮教室’,标签开启状态下的文章(/guang/api/*/article/getStarClassroomArticleList)(app接口) | ||
145 | - | ||
146 | -| 接口说明 | 接口说明 | | ||
147 | -|:------- | -----:| | ||
148 | -|请求域名 | http://api.yoho.cn/ | | ||
149 | -|接口名 | /guang/api/*/article/getStarClassroomArticleList | | ||
150 | -|接口说明 | 获得星潮教室中星搭配的文章 | | ||
151 | -|接口说明 | get | | ||
152 | - | ||
153 | -#### 请求参数 | ||
154 | - | ||
155 | -| 参数名称 | 参数类型 | 长度 | 是否必须 | 示例值 | 默认值 | 描述 | | ||
156 | -|:---------| --------:|-----:| ---------:| ------:| ------:| ----:| | ||
157 | -|page|Integer|3|否|1|1|页码| | ||
158 | - | ||
159 | -#### 正常返回结果 | ||
160 | - | ||
161 | -```json | ||
162 | -{ | ||
163 | - "alg": "SALT_MD5", | ||
164 | - "code": 200, | ||
165 | - "data": { | ||
166 | - "datetime": "1460342224", | ||
167 | - "list": { | ||
168 | - "artList": [ | ||
169 | - { | ||
170 | - "ads_img_size": "", | ||
171 | - "article_type": "1", | ||
172 | - "author": { | ||
173 | - "author_id": "5105041", | ||
174 | - "avatar": "http://img12.static.yhbimg.com/yhb-img02/2015/06/15/14/02e77877049e6949eb5e8b121b6f58204d.jpg?imageView/0/w/100/h/100", | ||
175 | - "name": "雷恩雷恩", | ||
176 | - "url": "http://guang.m.yohobuy.com/author/index?id=5105041&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"5105041\"},\"share\":\"\",\"id\":5105041,\"type\":0,\"islogin\":\"N\",\"url\":\"http://guang.m.yohobuy.com/author/index\"}}" | ||
177 | - }, | ||
178 | - "author_id": "5105041", | ||
179 | - "category_id": "1", | ||
180 | - "category_name": "话题", | ||
181 | - "conver_image_type": "2", | ||
182 | - "id": 29630, | ||
183 | - "intro": "Wuli凡凡前天回广州老家,小蛮腰可是为他亮起了欢迎语~这阵仗,简直了。看来《老炮儿》和wuli凡凡的人气,实在是高的不要不要。~", | ||
184 | - "isFavor": "N", | ||
185 | - "isPraise": "N", | ||
186 | - "is_recommended": "0", | ||
187 | - "praiseStatus": "true", | ||
188 | - "praise_num": "46", | ||
189 | - "publish_time": "12月25日 22:00", | ||
190 | - "share": { | ||
191 | - "url": "http://guang.m.yohobuy.com/info/index?id=29630&openby:yohobuy={\"action\":\"go.share\",\"params\":{\"pic\":\"http://img11.static.yhbimg.com/yhb-img01/2015/12/25/10/014df3a77aad110a75f4c63865461785da.jpg?imageView/2/w/640/h/640\",\"title\":\"《老炮儿》造型大吐槽!吴亦凡李易峰戏里戏外造型PK!\",\"url\":\"http://guang.m.yohobuy.com/info/index?id=29630\",\"content\":\"潮流资讯,新鲜贩售,YOHO!有货【逛】不停\"}}" | ||
192 | - }, | ||
193 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2015/12/25/10/014df3a77aad110a75f4c63865461785da.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
194 | - "title": "《老炮儿》造型大吐槽!吴亦凡李易峰戏里戏外造型PK!", | ||
195 | - "url": "http://guang.m.yohobuy.com/info/index?id=29630&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"29630\"},\"update_flag\":\"a585b3d889ca39701f76149e194ae268\",\"shareparam\":{\"id\":29630},\"share\":\"/guang/api/v1/share/guang\",\"id\":29630,\"type\":1,\"url\":\"http://guang.m.yohobuy.com/info/index\",\"islogin\":\"N\"}}", | ||
196 | - "views_num": "57133" | ||
197 | - }, | ||
198 | - { | ||
199 | - "article_type": "1", | ||
200 | - "author": { | ||
201 | - "author_id": "5514979", | ||
202 | - "avatar": "http://img12.static.yhbimg.com/yhb-img02/2015/06/12/15/025ff50f6d72fd19abe00c1bc3f0576eaa.jpg?imageView/0/w/100/h/100", | ||
203 | - "name": "XpecialSux", | ||
204 | - "url": "http://guang.m.yohobuy.com/author/index?id=5514979&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"5514979\"},\"share\":\"\",\"id\":5514979,\"type\":0,\"islogin\":\"N\",\"url\":\"http://guang.m.yohobuy.com/author/index\"}}" | ||
205 | - }, | ||
206 | - "author_id": "5514979", | ||
207 | - "category_id": "2", | ||
208 | - "category_name": "搭配", | ||
209 | - "conver_image_type": "1", | ||
210 | - "id": 589, | ||
211 | - "intro": "印象里松糕鞋总是女生的专属,殊不知,男生穿上松糕鞋同样也可以萌萌哒,简单的白色短袖T恤搭配迷彩短裤,原创的松糕鞋编织鞋头细节承载麂皮绒的特殊质感,表达年轻人拒绝平庸主义的态度。", | ||
212 | - "isFavor": "N", | ||
213 | - "isPraise": "N", | ||
214 | - "is_recommended": "0", | ||
215 | - "praiseStatus": "true", | ||
216 | - "praise_num": "25", | ||
217 | - "publish_time": "06月05日 16:10", | ||
218 | - "share": { | ||
219 | - "url": "http://guang.m.yohobuy.com/info/index?id=589&openby:yohobuy={\"action\":\"go.share\",\"params\":{\"pic\":\"http://img11.static.yhbimg.com/yhb-img01/2015/06/01/13/01c00f0fe35939d71161f98f4996dbe703.jpg?imageView/2/w/640/h/640\",\"title\":\"男生穿松糕鞋也可以萌萌哒\",\"url\":\"http://guang.m.yohobuy.com/info/index?id=589\",\"content\":\"潮流资讯,新鲜贩售,YOHO!有货【逛】不停\"}}" | ||
220 | - }, | ||
221 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/01/13/01c00f0fe35939d71161f98f4996dbe703.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
222 | - "title": "男生穿松糕鞋也可以萌萌哒", | ||
223 | - "url": "http://guang.m.yohobuy.com/info/index?id=589&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"589\"},\"update_flag\":\"5b9724501839dfbe5ffcc00201868dc0\",\"shareparam\":{\"id\":589},\"share\":\"/guang/api/v1/share/guang\",\"id\":589,\"type\":1,\"url\":\"http://guang.m.yohobuy.com/info/index\",\"islogin\":\"N\"}}", | ||
224 | - "views_num": "25960" | ||
225 | - } | ||
226 | - ] | ||
227 | - }, | ||
228 | - "page": 1, | ||
229 | - "total": 2, | ||
230 | - "totalPage": 1 | ||
231 | - }, | ||
232 | - "md5": "6b2878c28018dbae9435cdc49a019e3e", | ||
233 | - "message": "星潮教室文章列表" | ||
234 | -} | ||
235 | -``` | ||
236 | -#### 响应内容描述 | ||
237 | -| Param Name | Param Type | Desc | | ||
238 | -|:---------| --------:|-----:| | ||
239 | -|alg |String | | | ||
240 | -|code |int |状态码 | | ||
241 | -|md5 |String | | | ||
242 | -|message |String |返回结果内容描述 | | ||
243 | -|data |json |返回数据内容 | | ||
244 | -|datetime |String |当前时间 | | ||
245 | -|page |int |当前页 | | ||
246 | -|total |int |总记录数 | | ||
247 | -|totalPage |int |总页数 | | ||
248 | -|list |json |文章集合对象 | | ||
249 | -|artList |array |文章数组 | | ||
250 | -|ads_img_size |String |广告图片尺寸 | | ||
251 | -|article_type |String |文章类型 | | ||
252 | -|author_id |String |作者ID | | ||
253 | -|author |json |作者对象json | | ||
254 | -|author_id |String |作者ID | | ||
255 | -|avatar |String |产品的图片URL | | ||
256 | -|name |String |名称 | | ||
257 | -|url |String |链接的地址 | | ||
258 | -|category_id |String |分类ID | | ||
259 | -|category_name |String |分类名称 | | ||
260 | -|conver_image_type |String |图片类型 1方图,2长图 | | ||
261 | -|id |String | | | ||
262 | -|intro |String |文章信息 | | ||
263 | -|isFavor |String |是否收藏 | | ||
264 | -|isPraise |String |是否点赞 | | ||
265 | -|is_recommended |String |是否推荐 | | ||
266 | -|praiseStatus |String |点赞状态 | | ||
267 | -|praise_num |String |点赞数量 | | ||
268 | -|publish_time |String |发布时间 | | ||
269 | -|share |json |分享链接 | | ||
270 | -|url |String |分享链接地址 | | ||
271 | -|src |String |图片绝对路径 | | ||
272 | -|title |String |文章标题 | | ||
273 | -|url |String |URL | | ||
274 | -|views_num |String |查看数量 | | ||
275 | - | ||
276 | - | ||
277 | -#### 异常返回结果: | ||
278 | -| 错误码code | 错误message | 说明 | | ||
279 | -|:---------| --------:|-----:| | ||
280 | -| 500| | 内部错误| | ||
1 | +新潮教室签到 | ||
2 | +------------ | ||
3 | + | ||
4 | +## 1. 获取当前用户亲密度,排名 | ||
5 | + | ||
6 | +`method=app.starClass.rankInfo` | ||
7 | + | ||
8 | +#### 入参 | ||
9 | + | ||
10 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
11 | +|:---------|---------:|----------:|-----:|-------:|-----:| | ||
12 | +| method | string | 否 | app.starClass.rankInfo ||| | ||
13 | +| uid | int | 否 | 213 | 0 |用户id| | ||
14 | + | ||
15 | +#### 出参 | ||
16 | + | ||
17 | +```json | ||
18 | +{ | ||
19 | + "alg": "SALT_MD5", | ||
20 | + "code": 200, | ||
21 | + "data": { | ||
22 | + // 如果没有签过到,会显示零 | ||
23 | + "userNum": 10, | ||
24 | + // 如果没有签过到,会没有数据 | ||
25 | + "userRank": 2 | ||
26 | + }, | ||
27 | + "md5": "fcf7791bac08abb80ef3a2b27964386c", | ||
28 | + "message": "获取用户亲密度成功" | ||
29 | +} | ||
30 | +``` | ||
31 | + | ||
32 | +### 错误码 | ||
33 | + | ||
34 | +| 错误码 code | message | 说明 | | ||
35 | +|-------------|---------|------| | ||
36 | +| 200 | success | | | ||
37 | +| 400 | 输入参数错误 | 没传 uid | | ||
38 | +| 500 | 获取个人排名失败 | uid 不存在或者查询 redis 失败 | | ||
39 | + | ||
40 | +## 2.签到 | ||
41 | + | ||
42 | +`method=app.starClass.sign` | ||
43 | + | ||
44 | +#### 入参 | ||
45 | + | ||
46 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
47 | +|:---------|---------:|----------:|-----:|-------:|-----:| | ||
48 | +| uid | int | 否 | 213 | 0 |用户id| | ||
49 | + | ||
50 | +#### 出参 | ||
51 | + | ||
52 | +```json | ||
53 | +{ | ||
54 | + "alg": "SALT_MD5", | ||
55 | + "code": 200, | ||
56 | + "data": { | ||
57 | + // 本次增加的亲密度 | ||
58 | + "addNum": 10, | ||
59 | + // 签到记录 | ||
60 | + "logs": [ | ||
61 | + { | ||
62 | + "addNum": 10, | ||
63 | + "createTime": 1460112775, | ||
64 | + "id": 211, | ||
65 | + "starId": 1, | ||
66 | + "type": 1, | ||
67 | + "uid": 3703860 | ||
68 | + } | ||
69 | + ], | ||
70 | + // 前三名 | ||
71 | + "rankList": [ | ||
72 | + { | ||
73 | + "num": 10, | ||
74 | + "uid": 3566199, | ||
75 | + "username": "136****8114@yohoinc.com" | ||
76 | + }, | ||
77 | + { | ||
78 | + "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
79 | + "num": 10, | ||
80 | + "uid": 3566423, | ||
81 | + "username": "黄德才" | ||
82 | + }, | ||
83 | + { | ||
84 | + "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
85 | + "num": 10, | ||
86 | + "uid": 3703860, | ||
87 | + "username": "曹苒" | ||
88 | + } | ||
89 | + ] | ||
90 | + }, | ||
91 | + "md5": "450edbd92076dfac74701cb6421f68ae", | ||
92 | + "message": "获取用户签到信息成功" | ||
93 | +} | ||
94 | +``` | ||
95 | + | ||
96 | +### 错误码 | ||
97 | + | ||
98 | +| 错误码 code | message | 说明 | | ||
99 | +|-------------|---------|------| | ||
100 | +| 200 | success | | | ||
101 | +| 400 | 输入参数错误 | 没传 uid | | ||
102 | +| 500 | 设置 redis 失败 | 比如 redis 挂了等情况 | | ||
103 | + | ||
104 | +## 3.转发 | ||
105 | + | ||
106 | +`method=app.starClass.forward` | ||
107 | + | ||
108 | +#### 入参 | ||
109 | + | ||
110 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
111 | +|:---------|---------:|----------:|-----:|-------:|-----:| | ||
112 | +| uid | int | 否 | 213 | 0 |用户id| | ||
113 | + | ||
114 | +#### 出参 | ||
115 | + | ||
116 | +```json | ||
117 | +{ | ||
118 | + "alg": "SALT_MD5", | ||
119 | + "code": 200, | ||
120 | + "data": 10, // 本次增加的分数 | ||
121 | + "md5": "9f6ed5823862ae9009fc8084516132da", | ||
122 | + "message": "用户转发" | ||
123 | +} | ||
124 | +``` | ||
125 | + | ||
126 | +### 错误码 | ||
127 | + | ||
128 | +| 错误码 code | message | 说明 | | ||
129 | +|-------------|---------|------| | ||
130 | +| 200 | success | | | ||
131 | +| 400 | 输入参数错误 | 没传 uid | | ||
132 | +| 500 | 设置 redis 失败 | 比如 redis 挂了等情况 | | ||
133 | + | ||
134 | +## 前 100 | ||
135 | + | ||
136 | +`method=app.starClass.top100` | ||
137 | + | ||
138 | +#### 出参 | ||
139 | + | ||
140 | +```json | ||
141 | +{ | ||
142 | + "alg": "SALT_MD5", | ||
143 | + "code": 200, | ||
144 | + "data": [ | ||
145 | + { | ||
146 | + "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
147 | + "num": 20, | ||
148 | + "uid": 3703860, | ||
149 | + "username": "曹苒" | ||
150 | + }, | ||
151 | + { | ||
152 | + "num": 10, | ||
153 | + "uid": 3566199, | ||
154 | + "username": "136****8114@yohoinc.com" | ||
155 | + }, | ||
156 | + { | ||
157 | + "avatar": "http://static.yoho.cn/images/default_userhead_boy_180_180.png?imageView/{mode}/w/{width}/h/{height}", | ||
158 | + "num": 10, | ||
159 | + "uid": 3566423, | ||
160 | + "username": "黄德才" | ||
161 | + } | ||
162 | + ], | ||
163 | + "md5": "fae5f8b593b1c505eb36db1d29a80eca", | ||
164 | + "message": "top100" | ||
165 | +} | ||
166 | +``` | ||
167 | + | ||
168 | +### 错误码 | ||
169 | + | ||
170 | +| 错误码 code | message | 说明 | | ||
171 | +|-------------|---------|------| | ||
172 | +| 200 | success | | | ||
173 | +| 500 | 查询 redis 失败 | 比如 redis 挂了等情况 | | ||
174 | + | ||
175 | +## 4.获得星潮教室中星搭配的文章 | ||
176 | +星搭配文章取逛后台新增的标签分类‘星潮教室’,标签开启状态下的文章(/guang/api/*/article/getStarClassroomArticleList)(app接口) | ||
177 | + | ||
178 | +| 接口说明 | 接口说明 | | ||
179 | +|:------- | -----:| | ||
180 | +|请求域名 | http://api.yoho.cn/ | | ||
181 | +|接口名 | /guang/api/*/article/getStarClassroomArticleList | | ||
182 | +|接口说明 | 获得星潮教室中星搭配的文章 | | ||
183 | +|接口说明 | get | | ||
184 | + | ||
185 | +#### 请求参数 | ||
186 | + | ||
187 | +| 参数名称 | 参数类型 | 长度 | 是否必须 | 示例值 | 默认值 | 描述 | | ||
188 | +|:---------| --------:|-----:| ---------:| ------:| ------:| ----:| | ||
189 | +|page|Integer|3|否|1|1|页码| | ||
190 | + | ||
191 | +#### 正常返回结果 | ||
192 | + | ||
193 | +```json | ||
194 | +{ | ||
195 | + "alg": "SALT_MD5", | ||
196 | + "code": 200, | ||
197 | + "data": { | ||
198 | + "datetime": "1460342224", | ||
199 | + "list": { | ||
200 | + "artList": [ | ||
201 | + { | ||
202 | + "ads_img_size": "", | ||
203 | + "article_type": "1", | ||
204 | + "author": { | ||
205 | + "author_id": "5105041", | ||
206 | + "avatar": "http://img12.static.yhbimg.com/yhb-img02/2015/06/15/14/02e77877049e6949eb5e8b121b6f58204d.jpg?imageView/0/w/100/h/100", | ||
207 | + "name": "雷恩雷恩", | ||
208 | + "url": "http://guang.m.yohobuy.com/author/index?id=5105041&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"5105041\"},\"share\":\"\",\"id\":5105041,\"type\":0,\"islogin\":\"N\",\"url\":\"http://guang.m.yohobuy.com/author/index\"}}" | ||
209 | + }, | ||
210 | + "author_id": "5105041", | ||
211 | + "category_id": "1", | ||
212 | + "category_name": "话题", | ||
213 | + "conver_image_type": "2", | ||
214 | + "id": 29630, | ||
215 | + "intro": "Wuli凡凡前天回广州老家,小蛮腰可是为他亮起了欢迎语~这阵仗,简直了。看来《老炮儿》和wuli凡凡的人气,实在是高的不要不要。~", | ||
216 | + "isFavor": "N", | ||
217 | + "isPraise": "N", | ||
218 | + "is_recommended": "0", | ||
219 | + "praiseStatus": "true", | ||
220 | + "praise_num": "46", | ||
221 | + "publish_time": "12月25日 22:00", | ||
222 | + "share": { | ||
223 | + "url": "http://guang.m.yohobuy.com/info/index?id=29630&openby:yohobuy={\"action\":\"go.share\",\"params\":{\"pic\":\"http://img11.static.yhbimg.com/yhb-img01/2015/12/25/10/014df3a77aad110a75f4c63865461785da.jpg?imageView/2/w/640/h/640\",\"title\":\"《老炮儿》造型大吐槽!吴亦凡李易峰戏里戏外造型PK!\",\"url\":\"http://guang.m.yohobuy.com/info/index?id=29630\",\"content\":\"潮流资讯,新鲜贩售,YOHO!有货【逛】不停\"}}" | ||
224 | + }, | ||
225 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/12/25/10/014df3a77aad110a75f4c63865461785da.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
226 | + "title": "《老炮儿》造型大吐槽!吴亦凡李易峰戏里戏外造型PK!", | ||
227 | + "url": "http://guang.m.yohobuy.com/info/index?id=29630&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"29630\"},\"update_flag\":\"a585b3d889ca39701f76149e194ae268\",\"shareparam\":{\"id\":29630},\"share\":\"/guang/api/v1/share/guang\",\"id\":29630,\"type\":1,\"url\":\"http://guang.m.yohobuy.com/info/index\",\"islogin\":\"N\"}}", | ||
228 | + "views_num": "57133" | ||
229 | + }, | ||
230 | + { | ||
231 | + "article_type": "1", | ||
232 | + "author": { | ||
233 | + "author_id": "5514979", | ||
234 | + "avatar": "http://img12.static.yhbimg.com/yhb-img02/2015/06/12/15/025ff50f6d72fd19abe00c1bc3f0576eaa.jpg?imageView/0/w/100/h/100", | ||
235 | + "name": "XpecialSux", | ||
236 | + "url": "http://guang.m.yohobuy.com/author/index?id=5514979&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"5514979\"},\"share\":\"\",\"id\":5514979,\"type\":0,\"islogin\":\"N\",\"url\":\"http://guang.m.yohobuy.com/author/index\"}}" | ||
237 | + }, | ||
238 | + "author_id": "5514979", | ||
239 | + "category_id": "2", | ||
240 | + "category_name": "搭配", | ||
241 | + "conver_image_type": "1", | ||
242 | + "id": 589, | ||
243 | + "intro": "印象里松糕鞋总是女生的专属,殊不知,男生穿上松糕鞋同样也可以萌萌哒,简单的白色短袖T恤搭配迷彩短裤,原创的松糕鞋编织鞋头细节承载麂皮绒的特殊质感,表达年轻人拒绝平庸主义的态度。", | ||
244 | + "isFavor": "N", | ||
245 | + "isPraise": "N", | ||
246 | + "is_recommended": "0", | ||
247 | + "praiseStatus": "true", | ||
248 | + "praise_num": "25", | ||
249 | + "publish_time": "06月05日 16:10", | ||
250 | + "share": { | ||
251 | + "url": "http://guang.m.yohobuy.com/info/index?id=589&openby:yohobuy={\"action\":\"go.share\",\"params\":{\"pic\":\"http://img11.static.yhbimg.com/yhb-img01/2015/06/01/13/01c00f0fe35939d71161f98f4996dbe703.jpg?imageView/2/w/640/h/640\",\"title\":\"男生穿松糕鞋也可以萌萌哒\",\"url\":\"http://guang.m.yohobuy.com/info/index?id=589\",\"content\":\"潮流资讯,新鲜贩售,YOHO!有货【逛】不停\"}}" | ||
252 | + }, | ||
253 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/01/13/01c00f0fe35939d71161f98f4996dbe703.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
254 | + "title": "男生穿松糕鞋也可以萌萌哒", | ||
255 | + "url": "http://guang.m.yohobuy.com/info/index?id=589&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"589\"},\"update_flag\":\"5b9724501839dfbe5ffcc00201868dc0\",\"shareparam\":{\"id\":589},\"share\":\"/guang/api/v1/share/guang\",\"id\":589,\"type\":1,\"url\":\"http://guang.m.yohobuy.com/info/index\",\"islogin\":\"N\"}}", | ||
256 | + "views_num": "25960" | ||
257 | + } | ||
258 | + ] | ||
259 | + }, | ||
260 | + "page": 1, | ||
261 | + "total": 2, | ||
262 | + "totalPage": 1 | ||
263 | + }, | ||
264 | + "md5": "6b2878c28018dbae9435cdc49a019e3e", | ||
265 | + "message": "星潮教室文章列表" | ||
266 | +} | ||
267 | +``` | ||
268 | +#### 响应内容描述 | ||
269 | +| Param Name | Param Type | Desc | | ||
270 | +|:---------| --------:|-----:| | ||
271 | +|alg |String | | | ||
272 | +|code |int |状态码 | | ||
273 | +|md5 |String | | | ||
274 | +|message |String |返回结果内容描述 | | ||
275 | +|data |json |返回数据内容 | | ||
276 | +|datetime |String |当前时间 | | ||
277 | +|page |int |当前页 | | ||
278 | +|total |int |总记录数 | | ||
279 | +|totalPage |int |总页数 | | ||
280 | +|list |json |文章集合对象 | | ||
281 | +|artList |array |文章数组 | | ||
282 | +|ads_img_size |String |广告图片尺寸 | | ||
283 | +|article_type |String |文章类型 | | ||
284 | +|author_id |String |作者ID | | ||
285 | +|author |json |作者对象json | | ||
286 | +|author_id |String |作者ID | | ||
287 | +|avatar |String |产品的图片URL | | ||
288 | +|name |String |名称 | | ||
289 | +|url |String |链接的地址 | | ||
290 | +|category_id |String |分类ID | | ||
291 | +|category_name |String |分类名称 | | ||
292 | +|conver_image_type |String |图片类型 1方图,2长图 | | ||
293 | +|id |String | | | ||
294 | +|intro |String |文章信息 | | ||
295 | +|isFavor |String |是否收藏 | | ||
296 | +|isPraise |String |是否点赞 | | ||
297 | +|is_recommended |String |是否推荐 | | ||
298 | +|praiseStatus |String |点赞状态 | | ||
299 | +|praise_num |String |点赞数量 | | ||
300 | +|publish_time |String |发布时间 | | ||
301 | +|share |json |分享链接 | | ||
302 | +|url |String |分享链接地址 | | ||
303 | +|src |String |图片绝对路径 | | ||
304 | +|title |String |文章标题 | | ||
305 | +|url |String |URL | | ||
306 | +|views_num |String |查看数量 | | ||
307 | + | ||
308 | + | ||
309 | +#### 异常返回结果: | ||
310 | +| 错误码code | 错误message | 说明 | | ||
311 | +|:---------| --------:|-----:| | ||
312 | +| 500| | 内部错误| |
-
Please register or login to post a comment