Merge branch 'master' of http://git.dev.yoho.cn/yoho-documents/api-interfaces
Showing
1 changed file
with
132 additions
and
0 deletions
@@ -240,3 +240,135 @@ code为200即为成功,否则是失败。 | @@ -240,3 +240,135 @@ code为200即为成功,否则是失败。 | ||
240 | "message": "brands list" | 240 | "message": "brands list" |
241 | } | 241 | } |
242 | ``` | 242 | ``` |
243 | + | ||
244 | +## 5、PC查询所有品牌列表接口## | ||
245 | + | ||
246 | +(method=app.brand.newBrandList) | ||
247 | +#### 请求参数 | ||
248 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
249 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
250 | +|yh_channel|String|是|1|null|频道| | ||
251 | + | ||
252 | +注意,通用的头部没有列出。 | ||
253 | +请求示例 | ||
254 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.brand.newBrandList&yh_channel=1&client_secret=3f31be8d35adb60425882cbb7298afa9 | ||
255 | +### 响应 | ||
256 | +code为200即为成功,否则是失败。 | ||
257 | +响应JSON格式如下所示: | ||
258 | +```json | ||
259 | +{ | ||
260 | + "alg": "SALT_MD5", | ||
261 | + "code": 200, | ||
262 | + "data": { | ||
263 | + "all_list": { | ||
264 | + "0~9": [ | ||
265 | + { | ||
266 | + "brand_alif": "0", | ||
267 | + "brand_domain": "004", | ||
268 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2011/06/26/19/016f21d6a39d5071e1864943253dcdefde.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
269 | + "brand_keyword": "004,服装,包类", | ||
270 | + "brand_name": "004", | ||
271 | + "brand_name_cn": "零零肆__111", | ||
272 | + "brand_name_en": "00411111xxx12121", | ||
273 | + "hot_keyword": "004", | ||
274 | + "id": 1, | ||
275 | + "is_hot": "", | ||
276 | + "is_show_new": "N", | ||
277 | + "type": "0" | ||
278 | + }, | ||
279 | + { | ||
280 | + "brand_alif": "1", | ||
281 | + "brand_domain": "shichengyi", | ||
282 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2014/12/09/14/01c268eeca1437276d8711e6db7746ddf1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
283 | + "brand_keyword": "10x1,时晨昳", | ||
284 | + "brand_name": "10x1", | ||
285 | + "brand_name_cn": "10x1", | ||
286 | + "brand_name_en": "10x1111", | ||
287 | + "hot_keyword": "10x1", | ||
288 | + "id": 2, | ||
289 | + "is_hot": "", | ||
290 | + "is_show_new": "N", | ||
291 | + "type": "0" | ||
292 | + }, | ||
293 | + { | ||
294 | + "brand_alif": "7", | ||
295 | + "brand_domain": "jiajianchengchu", | ||
296 | + "brand_ico": "http://img12.static.yhbimg.com/brandLogo/2012/08/02/15/023909f130f5a5ea61b1227ab941e35fe0.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
297 | + "brand_keyword": "加减乘除", | ||
298 | + "brand_name": "+-×÷", | ||
299 | + "brand_name_cn": "加减乘除", | ||
300 | + "brand_name_en": "+-×÷", | ||
301 | + "hot_keyword": "加减乘除是年轻化的高级时装,注重剪裁和细节。", | ||
302 | + "id": 298, | ||
303 | + "is_hot": "N", | ||
304 | + "is_show_new": "N", | ||
305 | + "type": "0" | ||
306 | + } | ||
307 | + ], | ||
308 | + "A": [ | ||
309 | + { | ||
310 | + "brand_alif": "A", | ||
311 | + "brand_domain": "aape", | ||
312 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/12/03/15/02a0c256f3a75784fbcaa7d37715fcfa00.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
313 | + "brand_keyword": "", | ||
314 | + "brand_name": "Aape", | ||
315 | + "brand_name_cn": "", | ||
316 | + "brand_name_en": "Aape", | ||
317 | + "hot_keyword": "", | ||
318 | + "id": 862, | ||
319 | + "is_hot": "N", | ||
320 | + "is_show_new": "N", | ||
321 | + "type": "0" | ||
322 | + } | ||
323 | + ] | ||
324 | + }, | ||
325 | + "hot_list": [ | ||
326 | + { | ||
327 | + "brand_alif": "A", | ||
328 | + "brand_domain": "ablejeans", | ||
329 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2014/05/08/12/0241b56aa9407b25d60b8d6c03ad6396c6.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
330 | + "brand_keyword": "ABLE JEANS", | ||
331 | + "brand_name": "ABLE JEANS", | ||
332 | + "brand_name_cn": "欧帛牛仔", | ||
333 | + "brand_name_en": "ABLE JEANS", | ||
334 | + "hot_keyword": "", | ||
335 | + "id": 536, | ||
336 | + "is_hot": "Y", | ||
337 | + "is_show_new": "N", | ||
338 | + "type": "0" | ||
339 | + }, | ||
340 | + { | ||
341 | + "brand_alif": "5", | ||
342 | + "brand_domain": "5cm", | ||
343 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/03/01/06/024a32e5a272fdeb37e97a645f18b5541c.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
344 | + "brand_keyword": "5cm,it,摇滚,朋克,简约,英伦,时尚,潮流,正装,现代,前卫,摩登,个性,优雅,复古,独特,简洁,铆钉,民族", | ||
345 | + "brand_name": "5CM", | ||
346 | + "brand_name_cn": "", | ||
347 | + "brand_name_en": "5CM111", | ||
348 | + "hot_keyword": "潮流 it 5cm 香港 时尚 个性 独特", | ||
349 | + "id": 4, | ||
350 | + "is_hot": "Y", | ||
351 | + "is_show_new": "N", | ||
352 | + "type": "0" | ||
353 | + } | ||
354 | + ], | ||
355 | + "new_list": [ | ||
356 | + { | ||
357 | + "brand_alif": "5", | ||
358 | + "brand_domain": "5cm", | ||
359 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/03/01/06/024a32e5a272fdeb37e97a645f18b5541c.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
360 | + "brand_keyword": "5cm,it,摇滚,朋克,简约,英伦,时尚,潮流,正装,现代,前卫,摩登,个性,优雅,复古,独特,简洁,铆钉,民族", | ||
361 | + "brand_name": "5CM", | ||
362 | + "brand_name_cn": "", | ||
363 | + "brand_name_en": "5CM111", | ||
364 | + "hot_keyword": "潮流 it 5cm 香港 时尚 个性 独特", | ||
365 | + "id": 4, | ||
366 | + "is_hot": "Y", | ||
367 | + "is_show_new": "N", | ||
368 | + "type": "0" | ||
369 | + } | ||
370 | + ] | ||
371 | + }, | ||
372 | + "message": "success" | ||
373 | +} | ||
374 | +``` |
-
Please register or login to post a comment