Changes between Version 29 and Version 30 of pconline_4.0.0/interface
- Timestamp:
- 12/30/2014 05:04:57 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pconline_4.0.0/interface
v29 v30 252 252 253 253 254 === 2.4 [=#point204 产品库- 推荐品牌列表] ===254 === 2.4 [=#point204 产品库-品牌筛选列表] === 255 255 {{{ 256 256 备注:推荐品牌列表 257 请求URL:http://mrobot.pconline.com.cn/v 3/product/brand/{分类id}257 请求URL:http://mrobot.pconline.com.cn/v2/product/models/criterion/{分类id} (筛选接口需要持新的筛选功能;⽀持“品牌选项”、 “更多选项”使多选; “价格选项”、 “排序选项”使单选) 258 258 HTTP请求方式:get 259 259 是否需要登录:否 … … 264 264 返回参数: 265 265 { 266 "partition": { 267 "recommondBrands": { 268 "brands": [ 269 { 270 "id": 22586, //品牌ID 271 "logo": "http://www1.pconline.com.cn/app/brand/1sumsung.png", //品牌logo 272 "name": "三星" //品牌名称 273 }, 274 { 275 "id": 22587, 276 "logo": "http://www1.pconline.com.cn/app/brand/2sony.png", 277 "name": "索尼" 266 "criterion": [ 267 { 268 "cris": [ 269 { 270 "cId": "22586", 271 "count": "220", 272 "name": "三星", 273 "value": 22586 274 }, 275 { 276 "cId": "46291", 277 "count": "95", 278 "name": "HTC", 279 "value": 46291 278 280 } 279 281 ], 280 "index": "荐", //品牌类型(推荐,A~Z) 281 "rowNum": 18 //数量 282 }, 283 "totalBrands": { 284 "sections": [ 285 { 286 "brands": [ 287 { 288 "id": "47656", 289 "letter": "1", 290 "name": "17vee" 291 }, 292 { 293 "id": "98234", 294 "letter": "1", 295 "name": "139易" 296 }, 297 { 298 "id": "98421", 299 "letter": "1", 300 "name": "1-call" 301 }, 302 { 303 "id": "99186", 304 "letter": "1", 305 "name": "100+" 306 } 307 ], 308 "index": "1", 309 "rowNum": 4 310 }, 311 { 312 "brands": [ 313 { 314 "id": "99214", 315 "letter": "2", 316 "name": "21克" 317 } 318 ], 319 "index": "2", 320 "rowNum": 1 321 }, 322 { 323 "brands": [ 324 { 325 "id": "94624", 326 "letter": "3", 327 "name": "35Phone" 328 }, 329 { 330 "id": "97820", 331 "letter": "3", 332 "name": "3GNET三巨网" 333 } 334 ], 335 "index": "3", 336 "rowNum": 2 337 }, 338 { 339 "brands": [ 340 { 341 "id": "92183", 342 "letter": "A", 343 "name": "Altek" 344 }, 345 { 346 "id": "22580", 347 "letter": "A", 348 "name": "阿尔卡特(ALCATEL)" 349 }, 350 { 351 "id": "41896", 352 "letter": "A", 353 "name": "奥克斯(AUX)" 354 }, 355 { 356 "id": "77989", 357 "letter": "A", 358 "name": "埃立特" 359 }, 360 { 361 "id": "48969", 362 "letter": "A", 363 "name": "爱国者(aigo)" 364 }, 365 { 366 "id": "96082", 367 "letter": "A", 368 "name": "艾炜特(IVT)" 369 }, 370 { 371 "id": "90541", 372 "letter": "A", 373 "name": "Aoro" 374 } 375 ], 376 "index": "A", 377 "rowNum": 7 378 }, 379 { 380 "brands": [ 381 { 382 "id": "24132", 383 "letter": "B", 384 "name": "波导(Bird)" 385 }, 386 { 387 "id": "80889", 388 "letter": "B", 389 "name": "笔电锋" 390 }, 391 { 392 "id": "46201", 393 "letter": "B", 394 "name": "邦华(BOWAY)" 395 }, 396 { 397 "id": "97972", 398 "letter": "B", 399 "name": "博沃BOVO" 400 }, 401 { 402 "id": "98002", 403 "letter": "B", 404 "name": "百度卡美欧" 405 }, 406 { 407 "id": "98171", 408 "letter": "B", 409 "name": "bee小蜜蜂" 410 }, 411 { 412 "id": "99042", 413 "letter": "B", 414 "name": "博力信Broadsee" 415 } 416 ], 417 "index": "B", 418 "rowNum": 7 282 "name": "品牌", 283 "value": "品牌" 284 }, 285 { 286 "cris": [ 287 { 288 "count": "1000", 289 "criId": "167", 290 "name": "1000元以下", 291 "value": "1 TO 999" 292 }, 293 { 294 "count": "435", 295 "criId": "169", 296 "name": "1000-1500元", 297 "value": "1000 TO 1500" 298 }, 299 { 300 "count": "337", 301 "criId": "170", 302 "name": "1500-2000元", 303 "value": "1500 TO 2000" 304 }, 305 { 306 "count": "202", 307 "criId": "171", 308 "name": "2000-3000元", 309 "value": "2000 TO 3000" 310 }, 311 { 312 "count": "93", 313 "criId": "173", 314 "name": "3000-4000元", 315 "value": "3000 TO 4000" 316 }, 317 { 318 "count": "86", 319 "criId": "3268", 320 "name": "4000元以上", 321 "value": "4001 TO 9999999" 419 322 } 420 323 ], 421 "total": 208 324 "name": "价格", 325 "value": "price_100" 326 }, 327 { 328 "cris": [ 329 { 330 "count": "1000", 331 "criId": "4927", 332 "name": "GSM", 333 "value": "GSM" 334 }, 335 { 336 "count": "731", 337 "criId": "4931", 338 "name": "TD-SCDMA(移动3G)", 339 "value": "TD-SCDMA(移动3G)" 340 }, 341 { 342 "count": "1000", 343 "criId": "4929", 344 "name": "WCDMA(联通3G)", 345 "value": "WCDMA(联通3G)" 346 }, 347 { 348 "count": "345", 349 "criId": "4930", 350 "name": "CDMA2000(电信3G)", 351 "value": "CDMA EV-DO(电信3G)" 352 }, 353 { 354 "count": "90", 355 "criId": "4934", 356 "name": "双模(CDMA+GSM)", 357 "value": "双模" 358 } 359 ], 360 "name": "更多", 361 "value": "更多" 362 }, 363 { 364 "cris": [ 365 { 366 "count": "634", 367 "criId": "12747", 368 "name": "按价格", 369 "value": "按价格" 370 }, 371 { 372 "count": "608", 373 "criId": "14266", 374 "name": "按字母", 375 "value": "按字母" 376 } 377 ], 378 "name": "排序", 379 "value": "排序" 422 380 } 423 }, 424 "type": 20937 425 } 381 ] 382 } 383 }}} 384 385 386 === 2.5 [=#point205 产品库-品牌筛选列表] === 387 {{{ 388 备注:进入找产品页,选择产品分类,进入品牌列表,选择筛选,选择筛选条件之后查询 389 请求URL:http://mrobot.pconline.com.cn/v3/product/models/search/{分类id}?pageNo=1&orderId=1 390 HTTP请求方式:post 391 是否需要登录:否 392 返回格式:json 393 缓存方式:无 394 缓存时间:无 395 请求参数:{ 396 queryJson:{"品牌":["三星","苹果"],"价格":["1000元以下","4000元以上"],"更多":["TD-SCDMA(移动3G)","TD-SCDMA(移动4G)"],"屏幕大小":["14.0 TO 14.9","15.0 TO 15.9","13.0 TO 13.9"],"产品定位":["实用普及本","商用办公本","游戏影音本"],"品牌":[23906],"price_100":["3000 TO 3999"]}//查询的条件 397 pageNo:1//页码 398 orderId:1//排序条件 399 } 400 返回参数: 401 返回参数:{ 402 data: [ 403 { 404 hotNew: 0, 405 id: 548557, 406 idxPic: "http://img.pconline.com.cn/images/product/5485/548557/01_cn.jpg", 407 is-ultrabook: 0, 408 items: [ 409 "处理器", 410 "Intel Core i5-3337U(1.8GHz/L3 3M)", 411 "操作系统", 412 "Windows 8", 413 "内存容量", 414 "6GB", 415 "硬盘容量", 416 "500GB", 417 "屏幕尺寸", 418 "15.6英寸", 419 "分辨率", 420 "1366×768", 421 "显卡芯片", 422 "AMD Radeon HD 8730M,+Intel HD 4000" 423 ], 424 noPriceMsg: "新品", 425 price: 3999, 426 shortName: "戴尔Inspiron灵越 15R(Ins15RD-2628)", 427 url: "http://mrobot.pconline.com.cn/v3/product/abstact/548557" 428 }, 429 ], 430 pageCount: 1, 431 pageNo: 1, 432 pageSize: 25, 433 total: 2 434 } 435 426 436 427 437 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)