| | 242 | === 3.1.5 [=#point3.1.5 品牌列表] === |
| | 243 | (接口已完成,测试请连web开发机代理) |
| | 244 | 请求url:http://mrobot.pcauto.com.cn/v2/price/brands?v=4.0.0&version=4.6.0 |
| | 245 | [[BR]]后端地址:http://price.pcauto.com.cn/interface/iphone/brand_list.jsp(4.6前的版本);http://price.pcauto.com.cn/interface/iphone/atom/price/brand_list_json.jsp(version=4.6.0) |
| | 246 | [[BR]]请求方式:GET |
| | 247 | [[BR]]是否需要登录:否 |
| | 248 | [[BR]]返回格式:JSON |
| | 249 | [[BR]]缓存方式:接口缓存 |
| | 250 | [[BR]]缓存时间:60分钟 |
| | 251 | [[BR]]请求参数:[[BR]] |
| | 252 | ||参数名||类型||必须||说明|| |
| | 253 | ||v||string||可选||当v=4.0.0出热门车系|| |
| | 254 | ||version||string||可选||当version=4.6.0时采用新的后端接口,其他则保留旧的后端接口|| |
| | 255 | [[BR]] |
| | 256 | 返回结果:[[BR]] |
| | 257 | { |
| | 258 | sections: [ |
| | 259 | { |
| | 260 | brands: [ |
| | 261 | { |
| | 262 | hotSerial: "朗逸、速腾、科鲁兹、福克斯、奥迪A4L、朗动", |
| | 263 | id: 0, |
| | 264 | letter: "热", |
| | 265 | logo: "http://www1.pcauto.com.cn/zt/20131017/app/findCar.png", |
| | 266 | name: "热门车系" |
| | 267 | } |
| | 268 | ], |
| | 269 | index: "热", |
| | 270 | rowNum: 0 |
| | 271 | }, |
| | 272 | { |
| | 273 | brands: [ |
| | 274 | { |
| | 275 | id: 1, |
| | 276 | letter: "A", |
| | 277 | .... |
| | 278 | }]} |
| | 279 | [[BR]] |