Merge branch 'master' of http://git.yoho.cn/yoho-documents/api-interfaces
Showing
6 changed files
with
1335 additions
and
3 deletions
商品列表/first_user_recproduct.md
0 → 100644
1 | +## 1、查询用户是否首次登陆## | ||
2 | + | ||
3 | +(method=app.passport.checkFirstLogin) | ||
4 | +请求方式:get | ||
5 | +#### 请求参数 | ||
6 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
7 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
8 | +|uid|Integer| 否| 123456|null|用户id| | ||
9 | + | ||
10 | + | ||
11 | +注意,通用的头部没有列出。 | ||
12 | +请求示例 | ||
13 | +http://dev-api.yohops.com:9999/?app_version=4.9.2&debug=XYZ&client_secret=7b9ec13d4fdaeac331a9a0ddfbeac257&client_type=android&gender=&method=app.passport.checkFirstLogin&os_version=android4.4.4%3AChe1-CL20&screen_size=720x1280&session_key=c7e4525e9e7608a24c5b0dce094ab091&uid=13517&v=7&yh_channel=1 | ||
14 | +### 响应 | ||
15 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
16 | +响应JSON格式如下所示: | ||
17 | +```json | ||
18 | +{ | ||
19 | + "alg": "SALT_MD5", | ||
20 | + "code": 200, | ||
21 | + "data": "1", 0:不是首次登陆,1:是首次登陆 | ||
22 | + "md5": "c13a1ace2c5883be18643551bd17ebcd", | ||
23 | + "message": "请求成功" | ||
24 | +} | ||
25 | +``` | ||
26 | + | ||
27 | +## 2、推荐的商品列表## | ||
28 | + | ||
29 | +(method=app.newuser.recommend) | ||
30 | +请求方式:get | ||
31 | +#### 请求参数 | ||
32 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
33 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
34 | +|select_gender|Integer| 否| 1|null|用户选择的性别,1:男生,2:女生| | ||
35 | +|limit|Integer| 是| 12|12|每页显示商品数量| | ||
36 | +|page|Integer| 是| 1|1|页数| | ||
37 | + | ||
38 | + | ||
39 | +注意,通用的头部没有列出。 | ||
40 | +请求示例 | ||
41 | +http://dev-api.yohops.com:9999/?app_version=4.9.2&debug=XYZ&client_secret=7b9ec13d4fdaeac331a9a0ddfbeac257&client_type=android&gender=&method=app.newuser.recommend&os_version=android4.4.4%3AChe1-CL20&limit=10&page=1&gender=1&screen_size=720x1280&session_key=c7e4525e9e7608a24c5b0dce094ab091&uid=9963947&v=7&yh_channel=1 | ||
42 | +### 响应 | ||
43 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
44 | +响应JSON格式如下所示: | ||
45 | +```json | ||
46 | +{ | ||
47 | + "alg": "SALT_MD5", | ||
48 | + "code": 200, | ||
49 | + "data": { | ||
50 | + "total": 13, | ||
51 | + "page_total": 2, | ||
52 | + "page": 1, | ||
53 | + "product_list": [ | ||
54 | + { | ||
55 | + "default_images": "http://img10.static.yhbimg.com/goodsimg/2015/09/15/03/01f7c8352b5fce15df4b347403b714fa95.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
56 | + "product_skn": 51145431, | ||
57 | + "brand_name": "Aape" | ||
58 | + }, | ||
59 | + { | ||
60 | + "default_images": "http://img12.static.yhbimg.com/goodsimg/2014/11/14/01/0295ab80932bec9e2ebf4fc4a9ac402a39.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
61 | + "product_skn": 51079944, | ||
62 | + "brand_name": "Casterwear" | ||
63 | + }, | ||
64 | + { | ||
65 | + "default_images": "http://img10.static.yhbimg.com/goodsimg/2015/12/25/05/0146220898d04140206f4da9ffc48a3792.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
66 | + "product_skn": 51183961, | ||
67 | + "brand_name": "Bouquet Fever" | ||
68 | + }, | ||
69 | + { | ||
70 | + "default_images": "http://img11.static.yhbimg.com/goodsimg/2015/12/02/08/013858eb23e1cba1c9b2cff97c1f09d440.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
71 | + "product_skn": 51178108, | ||
72 | + "brand_name": "Bravospark" | ||
73 | + }, | ||
74 | + { | ||
75 | + "default_images": "http://img11.static.yhbimg.com/goodsimg/2015/11/02/09/015d52cc53236159f543a363543b36da77.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
76 | + "product_skn": 51163207, | ||
77 | + "brand_name": "BACK BONE" | ||
78 | + }, | ||
79 | + { | ||
80 | + "default_images": "http://img10.static.yhbimg.com/goodsimg/2015/11/30/10/0147006e5c997984001cf1ee89d9abd96e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
81 | + "product_skn": 51150773, | ||
82 | + "brand_name": "Artanky" | ||
83 | + }, | ||
84 | + { | ||
85 | + "default_images": "http://img12.static.yhbimg.com/goodsimg/2015/08/28/08/02d58f43cac7d60478f1a92a6d6f021aca.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
86 | + "product_skn": 51122824, | ||
87 | + "brand_name": "BURTON" | ||
88 | + }, | ||
89 | + { | ||
90 | + "default_images": "http://img13.static.yhbimg.com/goodsimg/2016/01/07/06/0256a62c882afcd1d2b9322f00b40b2d04.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
91 | + "product_skn": 51175023, | ||
92 | + "brand_name": "adidas Originals" | ||
93 | + }, | ||
94 | + { | ||
95 | + "default_images": "http://img13.static.yhbimg.com/goodsimg/2015/12/01/08/023f13af17536b39cae923134687065db8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
96 | + "product_skn": 51177466, | ||
97 | + "brand_name": "BURANDO ENO" | ||
98 | + }, | ||
99 | + { | ||
100 | + "default_images": "http://img11.static.yhbimg.com/goodsimg/2015/11/23/02/01496beadcb1cdae27f667253640819335.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
101 | + "product_skn": 51170405, | ||
102 | + "brand_name": "BEASTS" | ||
103 | + } | ||
104 | + ], | ||
105 | + "page_size": 10 | ||
106 | + }, | ||
107 | + "md5": "74f6a2a686abd5cb0b89d90049b83024", | ||
108 | + "message": "newUser recommend product list" | ||
109 | +} | ||
110 | +``` | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + |
大数据实时分析/kpi.md
0 → 100644
1 | +## 接口描述 | ||
2 | + | ||
3 | +### 1、获取top10下拉 | ||
4 | + | ||
5 | + | ||
6 | +#### 请求方法 | ||
7 | + get http://ap2.yohobuy.com/data-analysis-web/resources_analysis/recommendedSelect | ||
8 | +#### 响应内容json | ||
9 | + { | ||
10 | + "alg": "SALT_MD5", | ||
11 | + "code": 200, | ||
12 | + "data": [ | ||
13 | + { | ||
14 | + "text": "男首-猜你喜欢", | ||
15 | + "code": "100001" | ||
16 | + }, | ||
17 | + { | ||
18 | + "text": "女首-猜你喜欢", | ||
19 | + "code": "100002" | ||
20 | + }, | ||
21 | + { | ||
22 | + "text": "购物车-为您优选", | ||
23 | + "code": "100003" | ||
24 | + }, | ||
25 | + { | ||
26 | + "text": "我的-为您优选", | ||
27 | + "code": "100004" | ||
28 | + }, | ||
29 | + { | ||
30 | + "text": "查看物流-买了又买", | ||
31 | + "code": "100005" | ||
32 | + }, | ||
33 | + { | ||
34 | + "text": "查看物流-猜你喜欢", | ||
35 | + "code": "100006" | ||
36 | + }, | ||
37 | + { | ||
38 | + "text": "支付成功-猜你喜欢", | ||
39 | + "code": "100007" | ||
40 | + }, | ||
41 | + { | ||
42 | + "text": "yoho币-猜你喜欢", | ||
43 | + "code": "100008" | ||
44 | + }, | ||
45 | + { | ||
46 | + "text": "yoho币-猜你喜欢", | ||
47 | + "code": "100009" | ||
48 | + }, | ||
49 | + { | ||
50 | + "text": "商品详情页-为你优选", | ||
51 | + "code": "100013" | ||
52 | + } | ||
53 | + ], | ||
54 | + "md5": "48ee1287db61a4c822d67dcff3b0cf1c", | ||
55 | + "message": "SUCCESS" | ||
56 | +} | ||
57 | + | ||
58 | +### 2、获取top20下拉 | ||
59 | + | ||
60 | + | ||
61 | +#### 请求方法 | ||
62 | + get http://ap2.yohobuy.com/data-analysis-web/resources_analysis/top20Select | ||
63 | +#### 响应内容json | ||
64 | + { | ||
65 | + "alg": "SALT_MD5", | ||
66 | + "code": 200, | ||
67 | + "data": { | ||
68 | + "third": [ | ||
69 | + { | ||
70 | + "code": "0", | ||
71 | + "text": "默认" | ||
72 | + }, | ||
73 | + { | ||
74 | + "code": "1", | ||
75 | + "text": "销量" | ||
76 | + }, | ||
77 | + { | ||
78 | + "code": "2", | ||
79 | + "text": "最新" | ||
80 | + }, | ||
81 | + { | ||
82 | + "code": "3", | ||
83 | + "text": "价格" | ||
84 | + }, | ||
85 | + { | ||
86 | + "code": "4", | ||
87 | + "text": "折扣" | ||
88 | + }, | ||
89 | + { | ||
90 | + "code": "5", | ||
91 | + "text": "本日上新" | ||
92 | + }, | ||
93 | + { | ||
94 | + "code": "6", | ||
95 | + "text": "本周上新" | ||
96 | + }, | ||
97 | + { | ||
98 | + "code": "7", | ||
99 | + "text": "个性化排序" | ||
100 | + } | ||
101 | + ], | ||
102 | + "first": [ | ||
103 | + { | ||
104 | + "code": "1", | ||
105 | + "text": "男生" | ||
106 | + }, | ||
107 | + { | ||
108 | + "code": "2", | ||
109 | + "text": "女生" | ||
110 | + }, | ||
111 | + { | ||
112 | + "code": "3", | ||
113 | + "text": "潮童" | ||
114 | + }, | ||
115 | + { | ||
116 | + "code": "4", | ||
117 | + "text": "创意生活" | ||
118 | + } | ||
119 | + ], | ||
120 | + "second": [ | ||
121 | + { | ||
122 | + "code": "3", | ||
123 | + "text": "搜索" | ||
124 | + }, | ||
125 | + { | ||
126 | + "code": "1", | ||
127 | + "text": "品牌" | ||
128 | + }, | ||
129 | + { | ||
130 | + "code": "2", | ||
131 | + "text": "品类" | ||
132 | + }, | ||
133 | + { | ||
134 | + "code": "4", | ||
135 | + "text": "新品到着" | ||
136 | + }, | ||
137 | + { | ||
138 | + "code": "5", | ||
139 | + "text": "店铺页" | ||
140 | + } | ||
141 | + ] | ||
142 | + }, | ||
143 | + "md5": "8c3dabc02dc9a45368afbb2a09b784e2", | ||
144 | + "message": "SUCCESS" | ||
145 | +} | ||
146 | + | ||
147 | +### 2、获取推荐top10 | ||
148 | + | ||
149 | +#### 请求参数 | ||
150 | +| Param Name | Param Type | Required | Param Value | Desc | | ||
151 | +| :-- | --: | --: | --: | --: | | ||
152 | +| appType | String | true |android/ios/wap/web/all| 客户端类类型| | ||
153 | +| appEdition | String | true ||客户端版本:AB| | ||
154 | +| date | date | false |2016-12-26|时间类型(默认当天)| | ||
155 | +| cid | int | true | | 下拉的值| | ||
156 | + | ||
157 | + | ||
158 | +#### 请求方法 | ||
159 | + get http://ip:port/data-analysis-web/resources_analysis/recommendedTop10?appType=ios&date=2015-12-26&cid=1&appEdition=A | ||
160 | + | ||
161 | +#### 响应内容 | ||
162 | + | ||
163 | + { | ||
164 | + "alg": "SALT_MD5", | ||
165 | + "code": 200, | ||
166 | + "data": [ | ||
167 | + { | ||
168 | + "appEdition": "A", | ||
169 | + "appType": "ios", | ||
170 | + "carNum": 5, | ||
171 | + "cid": 100001, | ||
172 | + "date": "2017-02-27", | ||
173 | + "indexNum": 1, | ||
174 | + "orderNum": 0, | ||
175 | + "pvNum": 161, | ||
176 | + "sortNum": 0, | ||
177 | + "typeNum": 0, | ||
178 | + "uvNum": 142 | ||
179 | + }, | ||
180 | + { | ||
181 | + "appEdition": "A", | ||
182 | + "appType": "ios", | ||
183 | + "carNum": 1, | ||
184 | + "cid": 100001, | ||
185 | + "date": "2017-02-27", | ||
186 | + "indexNum": 2, | ||
187 | + "orderNum": 1, | ||
188 | + "pvNum": 155, | ||
189 | + "sortNum": 0, | ||
190 | + "typeNum": 0, | ||
191 | + "uvNum": 144 | ||
192 | + }, | ||
193 | + { | ||
194 | + "appEdition": "A", | ||
195 | + "appType": "ios", | ||
196 | + "carNum": 2, | ||
197 | + "cid": 100001, | ||
198 | + "date": "2017-02-27", | ||
199 | + "indexNum": 3, | ||
200 | + "orderNum": 0, | ||
201 | + "pvNum": 154, | ||
202 | + "sortNum": 0, | ||
203 | + "typeNum": 0, | ||
204 | + "uvNum": 141 | ||
205 | + }, | ||
206 | + { | ||
207 | + "appEdition": "A", | ||
208 | + "appType": "ios", | ||
209 | + "carNum": 4, | ||
210 | + "cid": 100001, | ||
211 | + "date": "2017-02-27", | ||
212 | + "indexNum": 4, | ||
213 | + "orderNum": 0, | ||
214 | + "pvNum": 165, | ||
215 | + "sortNum": 0, | ||
216 | + "typeNum": 0, | ||
217 | + "uvNum": 149 | ||
218 | + }, | ||
219 | + { | ||
220 | + "appEdition": "A", | ||
221 | + "appType": "ios", | ||
222 | + "carNum": 2, | ||
223 | + "cid": 100001, | ||
224 | + "date": "2017-02-27", | ||
225 | + "indexNum": 5, | ||
226 | + "orderNum": 0, | ||
227 | + "pvNum": 113, | ||
228 | + "sortNum": 0, | ||
229 | + "typeNum": 0, | ||
230 | + "uvNum": 107 | ||
231 | + }, | ||
232 | + { | ||
233 | + "appEdition": "A", | ||
234 | + "appType": "ios", | ||
235 | + "carNum": 5, | ||
236 | + "cid": 100001, | ||
237 | + "date": "2017-02-27", | ||
238 | + "indexNum": 6, | ||
239 | + "orderNum": 5, | ||
240 | + "pvNum": 102, | ||
241 | + "sortNum": 0, | ||
242 | + "typeNum": 0, | ||
243 | + "uvNum": 91 | ||
244 | + }, | ||
245 | + { | ||
246 | + "appEdition": "A", | ||
247 | + "appType": "ios", | ||
248 | + "carNum": 2, | ||
249 | + "cid": 100001, | ||
250 | + "date": "2017-02-27", | ||
251 | + "indexNum": 7, | ||
252 | + "orderNum": 0, | ||
253 | + "pvNum": 111, | ||
254 | + "sortNum": 0, | ||
255 | + "typeNum": 0, | ||
256 | + "uvNum": 100 | ||
257 | + }, | ||
258 | + { | ||
259 | + "appEdition": "A", | ||
260 | + "appType": "ios", | ||
261 | + "carNum": 1, | ||
262 | + "cid": 100001, | ||
263 | + "date": "2017-02-27", | ||
264 | + "indexNum": 8, | ||
265 | + "orderNum": 0, | ||
266 | + "pvNum": 108, | ||
267 | + "sortNum": 0, | ||
268 | + "typeNum": 0, | ||
269 | + "uvNum": 101 | ||
270 | + }, | ||
271 | + { | ||
272 | + "appEdition": "A", | ||
273 | + "appType": "ios", | ||
274 | + "carNum": 2, | ||
275 | + "cid": 100001, | ||
276 | + "date": "2017-02-27", | ||
277 | + "indexNum": 9, | ||
278 | + "orderNum": 0, | ||
279 | + "pvNum": 86, | ||
280 | + "sortNum": 0, | ||
281 | + "typeNum": 0, | ||
282 | + "uvNum": 80 | ||
283 | + }, | ||
284 | + { | ||
285 | + "appEdition": "A", | ||
286 | + "appType": "ios", | ||
287 | + "carNum": 3, | ||
288 | + "cid": 100001, | ||
289 | + "date": "2017-02-27", | ||
290 | + "indexNum": 10, | ||
291 | + "orderNum": 0, | ||
292 | + "pvNum": 109, | ||
293 | + "sortNum": 0, | ||
294 | + "typeNum": 0, | ||
295 | + "uvNum": 97 | ||
296 | + }, | ||
297 | + { | ||
298 | + "appEdition": "A", | ||
299 | + "appType": "ios", | ||
300 | + "carNum": 3, | ||
301 | + "cid": 100001, | ||
302 | + "date": "2017-02-27", | ||
303 | + "indexNum": 11, | ||
304 | + "orderNum": 0, | ||
305 | + "pvNum": 11, | ||
306 | + "sortNum": 0, | ||
307 | + "typeNum": 0, | ||
308 | + "uvNum": 9 | ||
309 | + }, | ||
310 | + { | ||
311 | + "appEdition": "A", | ||
312 | + "appType": "ios", | ||
313 | + "carNum": 2, | ||
314 | + "cid": 100001, | ||
315 | + "date": "2017-02-27", | ||
316 | + "indexNum": 12, | ||
317 | + "orderNum": 0, | ||
318 | + "pvNum": 16, | ||
319 | + "sortNum": 0, | ||
320 | + "typeNum": 0, | ||
321 | + "uvNum": 15 | ||
322 | + }, | ||
323 | + { | ||
324 | + "appEdition": "A", | ||
325 | + "appType": "ios", | ||
326 | + "carNum": 2, | ||
327 | + "cid": 100001, | ||
328 | + "date": "2017-02-27", | ||
329 | + "indexNum": 13, | ||
330 | + "orderNum": 0, | ||
331 | + "pvNum": 10, | ||
332 | + "sortNum": 0, | ||
333 | + "typeNum": 0, | ||
334 | + "uvNum": 8 | ||
335 | + }, | ||
336 | + { | ||
337 | + "appEdition": "A", | ||
338 | + "appType": "ios", | ||
339 | + "carNum": 0, | ||
340 | + "cid": 100001, | ||
341 | + "date": "2017-02-27", | ||
342 | + "indexNum": 14, | ||
343 | + "orderNum": 0, | ||
344 | + "pvNum": 11, | ||
345 | + "sortNum": 0, | ||
346 | + "typeNum": 0, | ||
347 | + "uvNum": 11 | ||
348 | + }, | ||
349 | + { | ||
350 | + "appEdition": "A", | ||
351 | + "appType": "ios", | ||
352 | + "carNum": 0, | ||
353 | + "cid": 100001, | ||
354 | + "date": "2017-02-27", | ||
355 | + "indexNum": 15, | ||
356 | + "orderNum": 0, | ||
357 | + "pvNum": 13, | ||
358 | + "sortNum": 0, | ||
359 | + "typeNum": 0, | ||
360 | + "uvNum": 12 | ||
361 | + }, | ||
362 | + { | ||
363 | + "appEdition": "A", | ||
364 | + "appType": "ios", | ||
365 | + "carNum": 0, | ||
366 | + "cid": 100001, | ||
367 | + "date": "2017-02-27", | ||
368 | + "indexNum": 16, | ||
369 | + "orderNum": 0, | ||
370 | + "pvNum": 9, | ||
371 | + "sortNum": 0, | ||
372 | + "typeNum": 0, | ||
373 | + "uvNum": 9 | ||
374 | + }, | ||
375 | + { | ||
376 | + "appEdition": "A", | ||
377 | + "appType": "ios", | ||
378 | + "carNum": 0, | ||
379 | + "cid": 100001, | ||
380 | + "date": "2017-02-27", | ||
381 | + "indexNum": 17, | ||
382 | + "orderNum": 0, | ||
383 | + "pvNum": 11, | ||
384 | + "sortNum": 0, | ||
385 | + "typeNum": 0, | ||
386 | + "uvNum": 11 | ||
387 | + }, | ||
388 | + { | ||
389 | + "appEdition": "A", | ||
390 | + "appType": "ios", | ||
391 | + "carNum": 0, | ||
392 | + "cid": 100001, | ||
393 | + "date": "2017-02-27", | ||
394 | + "indexNum": 18, | ||
395 | + "orderNum": 0, | ||
396 | + "pvNum": 8, | ||
397 | + "sortNum": 0, | ||
398 | + "typeNum": 0, | ||
399 | + "uvNum": 8 | ||
400 | + }, | ||
401 | + { | ||
402 | + "appEdition": "A", | ||
403 | + "appType": "ios", | ||
404 | + "carNum": 0, | ||
405 | + "cid": 100001, | ||
406 | + "date": "2017-02-27", | ||
407 | + "indexNum": 19, | ||
408 | + "orderNum": 0, | ||
409 | + "pvNum": 7, | ||
410 | + "sortNum": 0, | ||
411 | + "typeNum": 0, | ||
412 | + "uvNum": 7 | ||
413 | + }, | ||
414 | + { | ||
415 | + "appEdition": "A", | ||
416 | + "appType": "ios", | ||
417 | + "carNum": 0, | ||
418 | + "cid": 100001, | ||
419 | + "date": "2017-02-27", | ||
420 | + "indexNum": 20, | ||
421 | + "orderNum": 0, | ||
422 | + "pvNum": 6, | ||
423 | + "sortNum": 0, | ||
424 | + "typeNum": 0, | ||
425 | + "uvNum": 5 | ||
426 | + } | ||
427 | + ], | ||
428 | + "md5": "ecf1e9c581018a18abd8fcbf7fb56991", | ||
429 | + "message": "SUCCESS" | ||
430 | + } | ||
431 | + | ||
432 | +### 3、2级入口分析 | ||
433 | + | ||
434 | +#### 请求参数 | ||
435 | +| Param Name | Param Type | Required | Param Value | Desc | | ||
436 | +| :-- | --: | --: | --: | --: | | ||
437 | +| appType | String | true |yohobuy_android/yohobuy_ios/wap/web/all| 客户端类类型| | ||
438 | +| appEdition | String | true ||客户端版本:AB| | ||
439 | +| date | date | false |2016-12-26|时间类型(默认当天)| | ||
440 | +| channel | int | true | 1-男生 2-女生 3-潮童 4-创意生活 |频道 | | ||
441 | + | ||
442 | +#### 请求方法 | ||
443 | + get http://ap2.yohobuy.com/data-analysis-web/resources_analysis/secondLevelEntryAnalysis?appType=yohobuy_ios&channel=1&typeNum=2&sortNum=4&appEdition=A&date=2017-02-25 | ||
444 | + | ||
445 | +#### 响应内容 | ||
446 | + { | ||
447 | + "alg": "SALT_MD5", | ||
448 | + "code": 200, | ||
449 | + "data": [ | ||
450 | + { | ||
451 | + "appEdition": "A", | ||
452 | + "appType": "yohobuy_ios", | ||
453 | + "avgTime": 69, | ||
454 | + "eventCode": "1_5_1", | ||
455 | + "iconName": "新品到着", | ||
456 | + "outCount": 543, | ||
457 | + "outRate": "10.01%", | ||
458 | + "totalCount": 5423 | ||
459 | + }, | ||
460 | + { | ||
461 | + "appEdition": "A", | ||
462 | + "appType": "yohobuy_ios", | ||
463 | + "avgTime": 137, | ||
464 | + "eventCode": "1_5_10", | ||
465 | + "iconName": "折扣专区", | ||
466 | + "outCount": 1411, | ||
467 | + "outRate": "42.25%", | ||
468 | + "totalCount": 3340 | ||
469 | + }, | ||
470 | + { | ||
471 | + "appEdition": "A", | ||
472 | + "appType": "yohobuy_ios", | ||
473 | + "avgTime": 66, | ||
474 | + "eventCode": "1_5_2", | ||
475 | + "iconName": "潮流优选", | ||
476 | + "outCount": 2197, | ||
477 | + "outRate": "59.28%", | ||
478 | + "totalCount": 3706 | ||
479 | + }, | ||
480 | + { | ||
481 | + "appEdition": "A", | ||
482 | + "appType": "yohobuy_ios", | ||
483 | + "avgTime": 87, | ||
484 | + "eventCode": "1_5_3", | ||
485 | + "iconName": "早春新著", | ||
486 | + "outCount": 591, | ||
487 | + "outRate": "10.08%", | ||
488 | + "totalCount": 5864 | ||
489 | + }, | ||
490 | + { | ||
491 | + "appEdition": "A", | ||
492 | + "appType": "yohobuy_ios", | ||
493 | + "avgTime": 60, | ||
494 | + "eventCode": "1_5_4", | ||
495 | + "iconName": "明星原创", | ||
496 | + "outCount": 1206, | ||
497 | + "outRate": "56.01%", | ||
498 | + "totalCount": 2153 | ||
499 | + }, | ||
500 | + { | ||
501 | + "appEdition": "A", | ||
502 | + "appType": "yohobuy_ios", | ||
503 | + "avgTime": 122, | ||
504 | + "eventCode": "1_5_5", | ||
505 | + "iconName": "全部分类", | ||
506 | + "outCount": 2494, | ||
507 | + "outRate": "40.87%", | ||
508 | + "totalCount": 6102 | ||
509 | + }, | ||
510 | + { | ||
511 | + "appEdition": "A", | ||
512 | + "appType": "yohobuy_ios", | ||
513 | + "avgTime": 99, | ||
514 | + "eventCode": "1_5_6", | ||
515 | + "iconName": "人气搭配", | ||
516 | + "outCount": 1263, | ||
517 | + "outRate": "24.75%", | ||
518 | + "totalCount": 5104 | ||
519 | + }, | ||
520 | + { | ||
521 | + "appEdition": "A", | ||
522 | + "appType": "yohobuy_ios", | ||
523 | + "avgTime": 78, | ||
524 | + "eventCode": "1_5_7", | ||
525 | + "iconName": "潮流话题", | ||
526 | + "outCount": 157, | ||
527 | + "outRate": "23.36%", | ||
528 | + "totalCount": 672 | ||
529 | + }, | ||
530 | + { | ||
531 | + "appEdition": "A", | ||
532 | + "appType": "yohobuy_ios", | ||
533 | + "avgTime": 133, | ||
534 | + "eventCode": "1_5_8", | ||
535 | + "iconName": "全球购", | ||
536 | + "outCount": 1524, | ||
537 | + "outRate": "39.64%", | ||
538 | + "totalCount": 3845 | ||
539 | + }, | ||
540 | + { | ||
541 | + "appEdition": "A", | ||
542 | + "appType": "yohobuy_ios", | ||
543 | + "avgTime": 42, | ||
544 | + "eventCode": "1_5_9", | ||
545 | + "iconName": "限定发售", | ||
546 | + "outCount": 2211, | ||
547 | + "outRate": "12.78%", | ||
548 | + "totalCount": 17305 | ||
549 | + } | ||
550 | + ], | ||
551 | + "md5": "c3aa9ca20837f614fd184e849e59c86f", | ||
552 | + "message": "SUCCESS" | ||
553 | +} | ||
554 | + | ||
555 | + | ||
556 | + | ||
557 | +### 4、top20分析 | ||
558 | + | ||
559 | +#### 请求参数 | ||
560 | +| Param Name | Param Type | Required | Param Value | Desc | | ||
561 | +| :-- | --: | --: | --: | --: | | ||
562 | +| appType | String | true |yohobuy_android/yohobuy_ios/wap/web/all| 客户端类类型| | ||
563 | +| appEdition | String | true ||客户端版本:AB| | ||
564 | +| date | date | false |2016-12-26|时间类型(默认当天)| | ||
565 | +| cid | int | true | || | ||
566 | +| typeNum | int | true | || | ||
567 | +| sortNum | int | true | |d| | ||
568 | + | ||
569 | +#### 请求方法 | ||
570 | + get http://127.0.0.1:8080/resources_analysis/dlist_analysis?appType=yohobuy_ios&cid=1&typeNum=2&sortNum=4&appEdition=A&date=2017-02-25 | ||
571 | + | ||
572 | +#### 响应内容 | ||
573 | + { | ||
574 | + "alg": "SALT_MD5", | ||
575 | + "code": 200, | ||
576 | + "data": [ | ||
577 | + { | ||
578 | + "appEdition": "A", | ||
579 | + "appType": "android", | ||
580 | + "carNum": 0, | ||
581 | + "cid": 1, | ||
582 | + "date": "2017-02-25", | ||
583 | + "indexNum": 1, | ||
584 | + "orderNum": 0, | ||
585 | + "pvNum": 18, | ||
586 | + "sortNum": 4, | ||
587 | + "typeNum": 2, | ||
588 | + "uvNum": 9 | ||
589 | + }, | ||
590 | + { | ||
591 | + "appEdition": "A", | ||
592 | + "appType": "android", | ||
593 | + "carNum": 1, | ||
594 | + "cid": 1, | ||
595 | + "date": "2017-02-25", | ||
596 | + "indexNum": 2, | ||
597 | + "orderNum": 0, | ||
598 | + "pvNum": 11, | ||
599 | + "sortNum": 4, | ||
600 | + "typeNum": 2, | ||
601 | + "uvNum": 7 | ||
602 | + }, | ||
603 | + { | ||
604 | + "appEdition": "A", | ||
605 | + "appType": "android", | ||
606 | + "carNum": 2, | ||
607 | + "cid": 1, | ||
608 | + "date": "2017-02-25", | ||
609 | + "indexNum": 3, | ||
610 | + "orderNum": 0, | ||
611 | + "pvNum": 10, | ||
612 | + "sortNum": 4, | ||
613 | + "typeNum": 2, | ||
614 | + "uvNum": 5 | ||
615 | + }, | ||
616 | + { | ||
617 | + "appEdition": "A", | ||
618 | + "appType": "android", | ||
619 | + "carNum": 1, | ||
620 | + "cid": 1, | ||
621 | + "date": "2017-02-25", | ||
622 | + "indexNum": 4, | ||
623 | + "orderNum": 0, | ||
624 | + "pvNum": 4, | ||
625 | + "sortNum": 4, | ||
626 | + "typeNum": 2, | ||
627 | + "uvNum": 3 | ||
628 | + }, | ||
629 | + { | ||
630 | + "appEdition": "A", | ||
631 | + "appType": "android", | ||
632 | + "carNum": 0, | ||
633 | + "cid": 1, | ||
634 | + "date": "2017-02-25", | ||
635 | + "indexNum": 5, | ||
636 | + "orderNum": 0, | ||
637 | + "pvNum": 14, | ||
638 | + "sortNum": 4, | ||
639 | + "typeNum": 2, | ||
640 | + "uvNum": 7 | ||
641 | + }, | ||
642 | + { | ||
643 | + "appEdition": "A", | ||
644 | + "appType": "android", | ||
645 | + "carNum": 0, | ||
646 | + "cid": 1, | ||
647 | + "date": "2017-02-25", | ||
648 | + "indexNum": 6, | ||
649 | + "orderNum": 0, | ||
650 | + "pvNum": 10, | ||
651 | + "sortNum": 4, | ||
652 | + "typeNum": 2, | ||
653 | + "uvNum": 5 | ||
654 | + }, | ||
655 | + { | ||
656 | + "appEdition": "A", | ||
657 | + "appType": "android", | ||
658 | + "carNum": 0, | ||
659 | + "cid": 1, | ||
660 | + "date": "2017-02-25", | ||
661 | + "indexNum": 7, | ||
662 | + "orderNum": 0, | ||
663 | + "pvNum": 8, | ||
664 | + "sortNum": 4, | ||
665 | + "typeNum": 2, | ||
666 | + "uvNum": 5 | ||
667 | + }, | ||
668 | + { | ||
669 | + "appEdition": "A", | ||
670 | + "appType": "android", | ||
671 | + "carNum": 0, | ||
672 | + "cid": 1, | ||
673 | + "date": "2017-02-25", | ||
674 | + "indexNum": 8, | ||
675 | + "orderNum": 0, | ||
676 | + "pvNum": 7, | ||
677 | + "sortNum": 4, | ||
678 | + "typeNum": 2, | ||
679 | + "uvNum": 4 | ||
680 | + }, | ||
681 | + { | ||
682 | + "appEdition": "A", | ||
683 | + "appType": "android", | ||
684 | + "carNum": 1, | ||
685 | + "cid": 1, | ||
686 | + "date": "2017-02-25", | ||
687 | + "indexNum": 9, | ||
688 | + "orderNum": 0, | ||
689 | + "pvNum": 2, | ||
690 | + "sortNum": 4, | ||
691 | + "typeNum": 2, | ||
692 | + "uvNum": 2 | ||
693 | + }, | ||
694 | + { | ||
695 | + "appEdition": "A", | ||
696 | + "appType": "android", | ||
697 | + "carNum": 0, | ||
698 | + "cid": 1, | ||
699 | + "date": "2017-02-25", | ||
700 | + "indexNum": 10, | ||
701 | + "orderNum": 0, | ||
702 | + "pvNum": 7, | ||
703 | + "sortNum": 4, | ||
704 | + "typeNum": 2, | ||
705 | + "uvNum": 4 | ||
706 | + }, | ||
707 | + { | ||
708 | + "appEdition": "A", | ||
709 | + "appType": "android", | ||
710 | + "carNum": 1, | ||
711 | + "cid": 1, | ||
712 | + "date": "2017-02-25", | ||
713 | + "indexNum": 11, | ||
714 | + "orderNum": 0, | ||
715 | + "pvNum": 2, | ||
716 | + "sortNum": 4, | ||
717 | + "typeNum": 2, | ||
718 | + "uvNum": 1 | ||
719 | + }, | ||
720 | + { | ||
721 | + "appEdition": "A", | ||
722 | + "appType": "android", | ||
723 | + "carNum": 0, | ||
724 | + "cid": 1, | ||
725 | + "date": "2017-02-25", | ||
726 | + "indexNum": 12, | ||
727 | + "orderNum": 0, | ||
728 | + "pvNum": 4, | ||
729 | + "sortNum": 4, | ||
730 | + "typeNum": 2, | ||
731 | + "uvNum": 2 | ||
732 | + }, | ||
733 | + { | ||
734 | + "appEdition": "A", | ||
735 | + "appType": "android", | ||
736 | + "carNum": 0, | ||
737 | + "cid": 1, | ||
738 | + "date": "2017-02-25", | ||
739 | + "indexNum": 13, | ||
740 | + "orderNum": 0, | ||
741 | + "pvNum": 6, | ||
742 | + "sortNum": 4, | ||
743 | + "typeNum": 2, | ||
744 | + "uvNum": 3 | ||
745 | + }, | ||
746 | + { | ||
747 | + "appEdition": "A", | ||
748 | + "appType": "android", | ||
749 | + "carNum": 0, | ||
750 | + "cid": 1, | ||
751 | + "date": "2017-02-25", | ||
752 | + "indexNum": 15, | ||
753 | + "orderNum": 0, | ||
754 | + "pvNum": 3, | ||
755 | + "sortNum": 4, | ||
756 | + "typeNum": 2, | ||
757 | + "uvNum": 2 | ||
758 | + }, | ||
759 | + { | ||
760 | + "appEdition": "A", | ||
761 | + "appType": "android", | ||
762 | + "carNum": 0, | ||
763 | + "cid": 1, | ||
764 | + "date": "2017-02-25", | ||
765 | + "indexNum": 16, | ||
766 | + "orderNum": 0, | ||
767 | + "pvNum": 8, | ||
768 | + "sortNum": 4, | ||
769 | + "typeNum": 2, | ||
770 | + "uvNum": 4 | ||
771 | + }, | ||
772 | + { | ||
773 | + "appEdition": "A", | ||
774 | + "appType": "android", | ||
775 | + "carNum": 1, | ||
776 | + "cid": 1, | ||
777 | + "date": "2017-02-25", | ||
778 | + "indexNum": 17, | ||
779 | + "orderNum": 0, | ||
780 | + "pvNum": 4, | ||
781 | + "sortNum": 4, | ||
782 | + "typeNum": 2, | ||
783 | + "uvNum": 2 | ||
784 | + }, | ||
785 | + { | ||
786 | + "appEdition": "A", | ||
787 | + "appType": "android", | ||
788 | + "carNum": 0, | ||
789 | + "cid": 1, | ||
790 | + "date": "2017-02-25", | ||
791 | + "indexNum": 18, | ||
792 | + "orderNum": 0, | ||
793 | + "pvNum": 5, | ||
794 | + "sortNum": 4, | ||
795 | + "typeNum": 2, | ||
796 | + "uvNum": 3 | ||
797 | + }, | ||
798 | + { | ||
799 | + "appEdition": "A", | ||
800 | + "appType": "android", | ||
801 | + "carNum": 2, | ||
802 | + "cid": 1, | ||
803 | + "date": "2017-02-25", | ||
804 | + "indexNum": 19, | ||
805 | + "orderNum": 0, | ||
806 | + "pvNum": 6, | ||
807 | + "sortNum": 4, | ||
808 | + "typeNum": 2, | ||
809 | + "uvNum": 3 | ||
810 | + }, | ||
811 | + { | ||
812 | + "appEdition": "A", | ||
813 | + "appType": "android", | ||
814 | + "carNum": 0, | ||
815 | + "cid": 1, | ||
816 | + "date": "2017-02-25", | ||
817 | + "indexNum": 20, | ||
818 | + "orderNum": 0, | ||
819 | + "pvNum": 5, | ||
820 | + "sortNum": 4, | ||
821 | + "typeNum": 2, | ||
822 | + "uvNum": 3 | ||
823 | + }, | ||
824 | + { | ||
825 | + "appEdition": "A", | ||
826 | + "appType": "ios", | ||
827 | + "carNum": 18, | ||
828 | + "cid": 1, | ||
829 | + "date": "2017-02-25", | ||
830 | + "indexNum": 1, | ||
831 | + "orderNum": 2, | ||
832 | + "pvNum": 741, | ||
833 | + "sortNum": 4, | ||
834 | + "typeNum": 2, | ||
835 | + "uvNum": 587 | ||
836 | + }, | ||
837 | + { | ||
838 | + "appEdition": "A", | ||
839 | + "appType": "ios", | ||
840 | + "carNum": 26, | ||
841 | + "cid": 1, | ||
842 | + "date": "2017-02-25", | ||
843 | + "indexNum": 2, | ||
844 | + "orderNum": 5, | ||
845 | + "pvNum": 624, | ||
846 | + "sortNum": 4, | ||
847 | + "typeNum": 2, | ||
848 | + "uvNum": 518 | ||
849 | + }, | ||
850 | + { | ||
851 | + "appEdition": "A", | ||
852 | + "appType": "ios", | ||
853 | + "carNum": 9, | ||
854 | + "cid": 1, | ||
855 | + "date": "2017-02-25", | ||
856 | + "indexNum": 3, | ||
857 | + "orderNum": 1, | ||
858 | + "pvNum": 481, | ||
859 | + "sortNum": 4, | ||
860 | + "typeNum": 2, | ||
861 | + "uvNum": 402 | ||
862 | + }, | ||
863 | + { | ||
864 | + "appEdition": "A", | ||
865 | + "appType": "ios", | ||
866 | + "carNum": 14, | ||
867 | + "cid": 1, | ||
868 | + "date": "2017-02-25", | ||
869 | + "indexNum": 4, | ||
870 | + "orderNum": 1, | ||
871 | + "pvNum": 440, | ||
872 | + "sortNum": 4, | ||
873 | + "typeNum": 2, | ||
874 | + "uvNum": 376 | ||
875 | + }, | ||
876 | + { | ||
877 | + "appEdition": "A", | ||
878 | + "appType": "ios", | ||
879 | + "carNum": 3, | ||
880 | + "cid": 1, | ||
881 | + "date": "2017-02-25", | ||
882 | + "indexNum": 5, | ||
883 | + "orderNum": 0, | ||
884 | + "pvNum": 352, | ||
885 | + "sortNum": 4, | ||
886 | + "typeNum": 2, | ||
887 | + "uvNum": 298 | ||
888 | + }, | ||
889 | + { | ||
890 | + "appEdition": "A", | ||
891 | + "appType": "ios", | ||
892 | + "carNum": 12, | ||
893 | + "cid": 1, | ||
894 | + "date": "2017-02-25", | ||
895 | + "indexNum": 6, | ||
896 | + "orderNum": 0, | ||
897 | + "pvNum": 314, | ||
898 | + "sortNum": 4, | ||
899 | + "typeNum": 2, | ||
900 | + "uvNum": 275 | ||
901 | + }, | ||
902 | + { | ||
903 | + "appEdition": "A", | ||
904 | + "appType": "ios", | ||
905 | + "carNum": 13, | ||
906 | + "cid": 1, | ||
907 | + "date": "2017-02-25", | ||
908 | + "indexNum": 7, | ||
909 | + "orderNum": 2, | ||
910 | + "pvNum": 356, | ||
911 | + "sortNum": 4, | ||
912 | + "typeNum": 2, | ||
913 | + "uvNum": 307 | ||
914 | + }, | ||
915 | + { | ||
916 | + "appEdition": "A", | ||
917 | + "appType": "ios", | ||
918 | + "carNum": 17, | ||
919 | + "cid": 1, | ||
920 | + "date": "2017-02-25", | ||
921 | + "indexNum": 8, | ||
922 | + "orderNum": 2, | ||
923 | + "pvNum": 297, | ||
924 | + "sortNum": 4, | ||
925 | + "typeNum": 2, | ||
926 | + "uvNum": 261 | ||
927 | + }, | ||
928 | + { | ||
929 | + "appEdition": "A", | ||
930 | + "appType": "ios", | ||
931 | + "carNum": 11, | ||
932 | + "cid": 1, | ||
933 | + "date": "2017-02-25", | ||
934 | + "indexNum": 9, | ||
935 | + "orderNum": 0, | ||
936 | + "pvNum": 280, | ||
937 | + "sortNum": 4, | ||
938 | + "typeNum": 2, | ||
939 | + "uvNum": 246 | ||
940 | + }, | ||
941 | + { | ||
942 | + "appEdition": "A", | ||
943 | + "appType": "ios", | ||
944 | + "carNum": 14, | ||
945 | + "cid": 1, | ||
946 | + "date": "2017-02-25", | ||
947 | + "indexNum": 10, | ||
948 | + "orderNum": 2, | ||
949 | + "pvNum": 269, | ||
950 | + "sortNum": 4, | ||
951 | + "typeNum": 2, | ||
952 | + "uvNum": 242 | ||
953 | + }, | ||
954 | + { | ||
955 | + "appEdition": "A", | ||
956 | + "appType": "ios", | ||
957 | + "carNum": 5, | ||
958 | + "cid": 1, | ||
959 | + "date": "2017-02-25", | ||
960 | + "indexNum": 11, | ||
961 | + "orderNum": 2, | ||
962 | + "pvNum": 291, | ||
963 | + "sortNum": 4, | ||
964 | + "typeNum": 2, | ||
965 | + "uvNum": 247 | ||
966 | + }, | ||
967 | + { | ||
968 | + "appEdition": "A", | ||
969 | + "appType": "ios", | ||
970 | + "carNum": 6, | ||
971 | + "cid": 1, | ||
972 | + "date": "2017-02-25", | ||
973 | + "indexNum": 12, | ||
974 | + "orderNum": 0, | ||
975 | + "pvNum": 245, | ||
976 | + "sortNum": 4, | ||
977 | + "typeNum": 2, | ||
978 | + "uvNum": 216 | ||
979 | + }, | ||
980 | + { | ||
981 | + "appEdition": "A", | ||
982 | + "appType": "ios", | ||
983 | + "carNum": 5, | ||
984 | + "cid": 1, | ||
985 | + "date": "2017-02-25", | ||
986 | + "indexNum": 13, | ||
987 | + "orderNum": 0, | ||
988 | + "pvNum": 217, | ||
989 | + "sortNum": 4, | ||
990 | + "typeNum": 2, | ||
991 | + "uvNum": 185 | ||
992 | + }, | ||
993 | + { | ||
994 | + "appEdition": "A", | ||
995 | + "appType": "ios", | ||
996 | + "carNum": 9, | ||
997 | + "cid": 1, | ||
998 | + "date": "2017-02-25", | ||
999 | + "indexNum": 14, | ||
1000 | + "orderNum": 1, | ||
1001 | + "pvNum": 216, | ||
1002 | + "sortNum": 4, | ||
1003 | + "typeNum": 2, | ||
1004 | + "uvNum": 197 | ||
1005 | + }, | ||
1006 | + { | ||
1007 | + "appEdition": "A", | ||
1008 | + "appType": "ios", | ||
1009 | + "carNum": 7, | ||
1010 | + "cid": 1, | ||
1011 | + "date": "2017-02-25", | ||
1012 | + "indexNum": 15, | ||
1013 | + "orderNum": 2, | ||
1014 | + "pvNum": 182, | ||
1015 | + "sortNum": 4, | ||
1016 | + "typeNum": 2, | ||
1017 | + "uvNum": 165 | ||
1018 | + }, | ||
1019 | + { | ||
1020 | + "appEdition": "A", | ||
1021 | + "appType": "ios", | ||
1022 | + "carNum": 15, | ||
1023 | + "cid": 1, | ||
1024 | + "date": "2017-02-25", | ||
1025 | + "indexNum": 16, | ||
1026 | + "orderNum": 3, | ||
1027 | + "pvNum": 190, | ||
1028 | + "sortNum": 4, | ||
1029 | + "typeNum": 2, | ||
1030 | + "uvNum": 174 | ||
1031 | + }, | ||
1032 | + { | ||
1033 | + "appEdition": "A", | ||
1034 | + "appType": "ios", | ||
1035 | + "carNum": 7, | ||
1036 | + "cid": 1, | ||
1037 | + "date": "2017-02-25", | ||
1038 | + "indexNum": 17, | ||
1039 | + "orderNum": 1, | ||
1040 | + "pvNum": 202, | ||
1041 | + "sortNum": 4, | ||
1042 | + "typeNum": 2, | ||
1043 | + "uvNum": 179 | ||
1044 | + }, | ||
1045 | + { | ||
1046 | + "appEdition": "A", | ||
1047 | + "appType": "ios", | ||
1048 | + "carNum": 8, | ||
1049 | + "cid": 1, | ||
1050 | + "date": "2017-02-25", | ||
1051 | + "indexNum": 18, | ||
1052 | + "orderNum": 1, | ||
1053 | + "pvNum": 182, | ||
1054 | + "sortNum": 4, | ||
1055 | + "typeNum": 2, | ||
1056 | + "uvNum": 163 | ||
1057 | + }, | ||
1058 | + { | ||
1059 | + "appEdition": "A", | ||
1060 | + "appType": "ios", | ||
1061 | + "carNum": 9, | ||
1062 | + "cid": 1, | ||
1063 | + "date": "2017-02-25", | ||
1064 | + "indexNum": 19, | ||
1065 | + "orderNum": 1, | ||
1066 | + "pvNum": 180, | ||
1067 | + "sortNum": 4, | ||
1068 | + "typeNum": 2, | ||
1069 | + "uvNum": 164 | ||
1070 | + }, | ||
1071 | + { | ||
1072 | + "appEdition": "A", | ||
1073 | + "appType": "ios", | ||
1074 | + "carNum": 9, | ||
1075 | + "cid": 1, | ||
1076 | + "date": "2017-02-25", | ||
1077 | + "indexNum": 20, | ||
1078 | + "orderNum": 1, | ||
1079 | + "pvNum": 171, | ||
1080 | + "sortNum": 4, | ||
1081 | + "typeNum": 2, | ||
1082 | + "uvNum": 150 | ||
1083 | + } | ||
1084 | + ], | ||
1085 | + "md5": "83ee8d377fa07fcc59efece6a90a8706", | ||
1086 | + "message": "SUCCESS" | ||
1087 | +} | ||
1088 | + |
@@ -133,7 +133,8 @@ sign=159D8FA7E868CA35D8A45E773E88527D | @@ -133,7 +133,8 @@ sign=159D8FA7E868CA35D8A45E773E88527D | ||
133 | | total_amount | Price | 必填 | 11 | 交易的订单金额,单位为元,两位小数。 | 88.88 | | 133 | | total_amount | Price | 必填 | 11 | 交易的订单金额,单位为元,两位小数。 | 88.88 | |
134 | | buyer_pay_amount | Price | 必填 | 11 | 买家实付金额,单位为元,两位小数。 | 15.25 | | 134 | | buyer_pay_amount | Price | 必填 | 11 | 买家实付金额,单位为元,两位小数。 | 15.25 | |
135 | | yoho_coin_amount | Price | 选填 | 11 | 有货币支付金额,单位为元,两位小数。 | 10 | | 135 | | yoho_coin_amount | Price | 选填 | 11 | 有货币支付金额,单位为元,两位小数。 | 10 | |
136 | - | 136 | +| buyer_payment | String | 必填 | | 支付方式 | | |
137 | +| buyer_payment_str | String | 必填 | | 支付方式中文 | | | ||
137 | 138 | ||
138 | 响应成功JSON格式如下所示: | 139 | 响应成功JSON格式如下所示: |
139 | ```json | 140 | ```json |
@@ -146,7 +147,9 @@ sign=159D8FA7E868CA35D8A45E773E88527D | @@ -146,7 +147,9 @@ sign=159D8FA7E868CA35D8A45E773E88527D | ||
146 | "total_amount": 100.01, | 147 | "total_amount": 100.01, |
147 | "trade_no": "123456789", | 148 | "trade_no": "123456789", |
148 | "trade_status": "TRADE_CANCEL", | 149 | "trade_status": "TRADE_CANCEL", |
149 | - "yoho_coin_amount": 0 | 150 | + "yoho_coin_amount": 0, |
151 | + "buyer_payment":"offlineCash", | ||
152 | + "buyer_payment_str":"现金" | ||
150 | }, | 153 | }, |
151 | "md5": "4eef7b693d86f525124f6ebfcc05c02a", | 154 | "md5": "4eef7b693d86f525124f6ebfcc05c02a", |
152 | "message": "third order query" | 155 | "message": "third order query" |
@@ -114,6 +114,7 @@ | @@ -114,6 +114,7 @@ | ||
114 | ], | 114 | ], |
115 | //按钮呈现控制 | 115 | //按钮呈现控制 |
116 | "links":["buyNow","closeOrder"] | 116 | "links":["buyNow","closeOrder"] |
117 | + // 新增按钮refundApply,表示申请退款 | ||
117 | //"links":{ | 118 | //"links":{ |
118 | // "buyNow":"Y",//立即付款 Y-呈现,N-不呈现 | 119 | // "buyNow":"Y",//立即付款 Y-呈现,N-不呈现 |
119 | // "closeOrder":"N",//取消订单 | 120 | // "closeOrder":"N",//取消订单 |
@@ -178,6 +179,10 @@ | @@ -178,6 +179,10 @@ | ||
178 | "pay_lefttime":"6446", | 179 | "pay_lefttime":"6446", |
179 | //能否修改订单收货人地址 "Y":能修改 "N":不能修改 | 180 | //能否修改订单收货人地址 "Y":能修改 "N":不能修改 |
180 | "can_update_delivery_address": "Y", | 181 | "can_update_delivery_address": "Y", |
182 | + //当允许修改收货地址时该字段有意义:Y、允许修改省份;N、不允许修改省份 | ||
183 | + "is_support_change_province": "Y", | ||
184 | + //表示原地址的省份的areaCode。如果不允许修改省份,前端可用该省份的areaCode查询下一级地址 | ||
185 | + "province_area_code": "320000000", | ||
181 | "coupons_amount": "-¥0.00", | 186 | "coupons_amount": "-¥0.00", |
182 | "create_time": "1458138942", | 187 | "create_time": "1458138942", |
183 | "delivery_time": "只工作日送货(双休日、节假日不用送)", | 188 | "delivery_time": "只工作日送货(双休日、节假日不用送)", |
@@ -330,6 +335,7 @@ | @@ -330,6 +335,7 @@ | ||
330 | "return_yoho_coin_num":"6",//退还有货币 | 335 | "return_yoho_coin_num":"6",//退还有货币 |
331 | //按钮呈现控制 | 336 | //按钮呈现控制 |
332 | "links":["buyNow","closeOrder"] | 337 | "links":["buyNow","closeOrder"] |
338 | + // 新增按钮refundApply,表示申请退款 | ||
333 | //"links":{ | 339 | //"links":{ |
334 | // "buyNow":"Y",//立即付款 Y-呈现,N-不呈现 | 340 | // "buyNow":"Y",//立即付款 Y-呈现,N-不呈现 |
335 | // "closeOrder":"N",//取消订单 | 341 | // "closeOrder":"N",//取消订单 |
@@ -1191,8 +1197,89 @@ http://dev-api.yohops.com:9999/?method=app.SpaceOrders.getOrderExNotice&order_co | @@ -1191,8 +1197,89 @@ http://dev-api.yohops.com:9999/?method=app.SpaceOrders.getOrderExNotice&order_co | ||
1191 | 2.部分商品需要品牌商调货至有货仓库,预计3-5天安排发货 | 1197 | 2.部分商品需要品牌商调货至有货仓库,预计3-5天安排发货 |
1192 | 3.商品需要品牌商调货至有货仓库,预计3-5天安排发货 | 1198 | 3.商品需要品牌商调货至有货仓库,预计3-5天安排发货 |
1193 | 1199 | ||
1200 | +### 申请退款 | ||
1194 | 1201 | ||
1202 | +#### 说明 | ||
1203 | +支付后交寄前可以调用此接口申请退款,实际上等同于取消订单 | ||
1204 | +#### 请求参数 | ||
1205 | +| Param Name | Param Value | Desc| | ||
1206 | +| :-------- | --------------:|----:| | ||
1207 | +| method | app.SpaceOrders.refundApply| 请求方法 | | ||
1208 | +| uid | 5772257 | uid | | ||
1209 | +| order_code | 1061003682 | 订单号 | | ||
1210 | +| client_type | iphone | | ||
1211 | +| reason_id | 1 | 原因id | | ||
1212 | +| reason | 支付不成功 | 原因描述 | | ||
1213 | +| app_type | 1 | 0:yohobuy 1:blk(blk必传) | | ||
1214 | +#### 正常返回结果 | ||
1215 | +```json | ||
1216 | +{ | ||
1217 | +"code":200, | ||
1218 | +"message":"订单取消成功" | ||
1219 | +} | ||
1220 | +``` | ||
1221 | + | ||
1222 | +### 11、申请退款(取消订单)原因列表 | ||
1195 | 1223 | ||
1224 | +#### 说明 | ||
1225 | +申请退款(取消订单)原因列表 | ||
1226 | +#### 请求参数 | ||
1227 | +| Param Name | Param Value | Desc| | ||
1228 | +| :-------- | --------------:|----:| | ||
1229 | +| method | app.SpaceOrders.refundApplyReasons| 请求方法 | | ||
1230 | + | ||
1231 | + | ||
1232 | +#### 正常返回结果 | ||
1233 | +```json | ||
1234 | +{ | ||
1235 | + "alg": "SALT_MD5", | ||
1236 | + "code": 200, | ||
1237 | + "data": [ | ||
1238 | + { | ||
1239 | + "id": "1", | ||
1240 | + "reason": "支付不成功" | ||
1241 | + }, | ||
1242 | + { | ||
1243 | + "id": "2", | ||
1244 | + "reason": "现在不想购买" | ||
1245 | + }, | ||
1246 | + { | ||
1247 | + "id": "3", | ||
1248 | + "reason": "订单价格有问题" | ||
1249 | + }, | ||
1250 | + { | ||
1251 | + "id": "4", | ||
1252 | + "reason": "修改订单信息" | ||
1253 | + }, | ||
1254 | + { | ||
1255 | + "id": "5", | ||
1256 | + "reason": "错误或重复下单" | ||
1257 | + }, | ||
1258 | + { | ||
1259 | + "id": "6", | ||
1260 | + "reason": "忘记使用优惠劵或YOHO币" | ||
1261 | + }, | ||
1262 | + { | ||
1263 | + "id": "7", | ||
1264 | + "reason": "等待发货时间过长" | ||
1265 | + }, | ||
1266 | + { | ||
1267 | + "id": "8", | ||
1268 | + "reason": "商品价格较贵" | ||
1269 | + }, | ||
1270 | + { | ||
1271 | + "id": "9", | ||
1272 | + "reason": "运费过高" | ||
1273 | + }, | ||
1274 | + { | ||
1275 | + "id": "10", | ||
1276 | + "reason": "其他" | ||
1277 | + } | ||
1278 | + ], | ||
1279 | + "md5": "c5ebf5f9145238ea6bc861b4b3fd895a", | ||
1280 | + "message": "订单取消原因列表" | ||
1281 | +} | ||
1282 | +``` | ||
1196 | 1283 | ||
1197 | 1284 | ||
1198 | 1285 |
@@ -184,7 +184,10 @@ | @@ -184,7 +184,10 @@ | ||
184 | "special_notice":{ | 184 | "special_notice":{ |
185 | "title":"该商品暂不支持7天无理由退换", | 185 | "title":"该商品暂不支持7天无理由退换", |
186 | "remark":"1.考虑到个人卫生,例如内衣、内裤、袜子等贴身塑身类商品,不支持无理由退换货 2.香水、香薰、化妆品等特殊商品,无质量问题,不支持无理由退换货" | 186 | "remark":"1.考虑到个人卫生,例如内衣、内裤、袜子等贴身塑身类商品,不支持无理由退换货 2.香水、香薰、化妆品等特殊商品,无质量问题,不支持无理由退换货" |
187 | - } | 187 | + }, |
188 | + "refundShipFeeDescription":"1.如订单中只退部分商品,运费需由您个人承担。(如订单中包含赠品,保留赠品视为部分退货。) | ||
189 | + 2.如确认保留赠品,运费需由您承担。请于还款日前,通过有货分期还款以支付,避免给您造成不良信用记录。" | ||
190 | + | ||
188 | }, | 191 | }, |
189 | "md5": "72879cfb65bcd2705e4283d2f5dc1a30", | 192 | "md5": "72879cfb65bcd2705e4283d2f5dc1a30", |
190 | "message": "Refund goods list" | 193 | "message": "Refund goods list" |
资源位/vipgrade.md
0 → 100644
1 | +### app.vipgrade.fastexpress | ||
2 | + | ||
3 | +> 接口名:`app.vipgrade.fastexpress` | ||
4 | + | ||
5 | +#### 请求参数 | ||
6 | + | ||
7 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
8 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
9 | +|uid|int|否|1||uid|无| | ||
10 | + | ||
11 | +#### 响应 | ||
12 | + | ||
13 | +```json | ||
14 | +{ | ||
15 | + "alg": "SALT_MD5", | ||
16 | + "code": 200, | ||
17 | + "data": [ | ||
18 | + { | ||
19 | + "vip_grade": 3, | ||
20 | + "vip_name": "VIPIII白金会员", | ||
21 | + "is_fast_express": 1 //1表示提供快速送达服务,0表示不提供 | ||
22 | + }, | ||
23 | + { | ||
24 | + "vip_grade": 2, | ||
25 | + "vip_name": "VIPII金卡会员", | ||
26 | + "is_fast_express": 0 | ||
27 | + }, | ||
28 | + { | ||
29 | + "vip_grade": 1, | ||
30 | + "vip_name": "VIPI银卡会员", | ||
31 | + "is_fast_express": 0 | ||
32 | + }], | ||
33 | + "md5": "0808ebec8cba6148054cceed1c1395ef", | ||
34 | + "message": "操作成功" | ||
35 | +} | ||
36 | +``` |
-
Please register or login to post a comment