== 车型库项目接口 == === 目录 === 1. [#point100 开发时间,负责人及进度汇报 ] 2. [#point200 mrobot的接口 ] 2.1 [#point201 getSerialListByBrandId ] 2.2 [#point202 getModelListBySerialId ] 2.3 [#point203 getPriceList ] 2.4 [#point204 getSerialListByPrice] 2.5 [#point205 getArticleListBySerialId ] 2.6 [#point206 SendCommentWihSerialId ] 2.7 [#point207 getPhotoBySerialId ] 2.8 [#point208 getPhotoBySerialIdTypeId ](用以前的接口,已删除) 2.9 [#point209 口碑 ] 2.10 [#point210 车型终端概述 ] 2.11 [#point211 车型终端参数 ] 2.12 [#point212 车型终端经销商] 2.13 [#point213 车型对比结果 ] 2.14 [#point214 购车计算器 ] 3. [#point300 配合的接口(产品库接口及编辑出的接口) ] 3.1 [#point301 通过品牌ID得到车系列表 ] 3.2 [#point302 通过车系ID得到车型列表 ] 3.3 [#point303 通过价格返回车系列表(按首字母顺序排) ] 3.4 [#point304 通过车系ID得到相关文章 (已废除) ] 3.5 [#point305 发表车系评论 ] 3.6 [#point306 口碑 ] 3.7 [#point307 购车计算器 ] 4. [#point400 测试环境接口配置 ] 5. [#point500 修改历史 ] == 1. [=#point100 开发时间,负责人及进度汇报 ]== ||批次||= 页面 =||= 涉及MROBOT接口 =||=是否需要[[BR]]HTML切图 =||= 需配合的接口负责人[[BR]]及进度 =||= 接口开发[[BR]]预计时间 =||= 接口进度(百分比) =||=接口实际[[BR]]完成时间=||=接口确认=|| ||第一批|| 品牌列表页(首页) || 以前的接口 || - || - || - || - || - || - || ||第一批|| 价格列表页(首页) ||2.4 [#point204 getSerialListByPrice] [[BR]] 2.3 [#point203 getPriceList ] || - || 3.3 [#point303 通过价格返回车系列表(按首字母顺序排) ] || 8/3 || 100% || 8/16 ||接口确认|| ||第一批|| 首页搜索状态 || - || - || - || - || - || - || - || ||第一批|| 品牌内页 || 2.1 [#point201 getSerialListByBrandId ] || - || 3.1 [#point301 通过品牌ID得到车系列表 ] || 8/3 || 100% || 8/16 ||接口确认|| ||=第二批=|| 车系终端(概述) || 2.2 [#point202 getModelListBySerialId ] || - || 3.2 [#point302 通过车系ID得到车型列表 ] || 8/7 ||100% || 8/16 ||接口确认|| ||=第二批=|| 车系终端(文章) || 2.5 [#point205 getArticleListBySerialId ] || 是 || 从快搜获取文章 || 8/7 ||100%||8/7||接口确认|| ||=第二批=|| 车系终端(口碑) || 2.9 [#point209 口碑 ] || 是 || 3.6 [#point306 口碑 ] || 8/9 || 100% || 8/22 ||接口确认|| ||=第二批=|| 车系终端(图片) || 2.7 [#point207 getPhotoBySerialId ] || - || 以前的接口 || 8/9 ||100%|| 8/16 ||接口确认|| ||=第二批=|| 车型终端(概述) || 2.10 [#point210 车型终端概述 ] || 是 || 以前的接口 || 8/13 || 100% || 8/24 ||接口确认|| ||=第二批=|| 车型终端(参数) || 2.11 [#point211 车型终端参数 ] || 是 || 以前的接口 || 8/13 || 100% || 8/24 ||接口确认|| ||=第二批=|| 车型终端(经销商) || 2.12 [#point212 车型终端经销商] || 是 || 以前的接口 || 8/15 || 100% || 8/24 ||接口确认|| ||=第二批=|| 收藏夹(车型) || - || - || - || - || - || - || - || ||=第二批=|| 收藏夹(车系) || - || - || - || - || - || - || - || ||第三批|| 图片列表 || 2.8 [#point208 getPhotoBySerialIdTypeId ] || - || - || 此接口直接用以前的 ||-||-||-|| ||第三批|| 图片终端 || - || - || - || - || - || - || - || ||第三批|| 搜索页 || - || - || - || - || - || - || - || ||第三批|| 搜索条件 || - || - || - || - || - || - || - || ||第三批|| 搜索结果 || - || - || - || - || - || - || - || ||第三批|| 对比结果 || 2.13 [#point213 车型对比结果 ] || 是 || 以前的接口 || 8/15 || 100%|| 8/22 ||接口确认|| ||第三批|| 计算器详细页 || 2.14 [#point214 购车计算器 ] || 是 || 3.7 [#point307 购车计算器 ] || 8/17 || 100% || 8/23 ||接口确认|| ||第三批|| 城市选择页 || - || - || - || - || - || - || - || ||第三批|| 评分页 || 2.6 [#point206 SendCommentWihSerialId ] || - || 3.5 [#point305 发表车系评论 ] || 8/17 || 100% || 8/24 ||接口确认|| == 2. [=#point200 mrobot的接口 ] == mrobot自身的接口,由客户端调用 === 2.1 [=#point201 getSerialListByBrandId ] === {{{ 请求方式get 请求参数:   brandId 品牌Id Url: http://mrobot.pcauto.com.cn/v3/price/getSerialListByBrandId/ 范例: http://mrobot.pcauto.com.cn/v3/price/getSerialListByBrandId/2 返回: { manufacturers:[ { name:"一汽奥迪", serials: [ { id:"1", name:"奥迪A5", kind:"suv", priceRange:"37.28~56.7", photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" }, { id:"1", name:"奥迪A6L" kind:"suv", priceRange:"37.28~56.7", photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" } ] }, { name:"进口奥迪", serials: [ { id:"1", name:"奥迪A5" kind:"suv", priceRange:"37.28~56.7", photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" } ] }] } 备注: name 厂家名称 id 车系id name 车系名称 kind级别 priceRange指导价 photo 图片 }}} === 2.2 [=#point202 getModelListBySerialId ] === {{{ 请求方式get 请求参数:   SerialId 车系id url: http://mrobot.pcauto.com.cn/v3/price/getModelListBySerialId/{serialId} 范例 http://mrobot.pcauto.com.cn/v3/price/getModelListBySerialId/234 返回: { "brandId":20, "serialGroupName":"宝马(进口)", "bbsId":"17448", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1206/24/c9/12108937_12108937_1340536858000_120x90.jpg", "kind":"SUV", "priceRange":"123~125万", "modelTotal":"5", "advantage":"好啊好", "disadvatage":"衰啊衰", "data":[ { "id":"14782", "title":"宝马X5 2011款 xDrive35i 豪华型", "price":"100500", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1206/24/c9/12108937_12108937_1340536858000_120x90.jpg", "status":"在售" }, { "id":"17365", "title":"宝马X5 2011款 xDrive35i M运动型", "price":"1049000", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1206/24/c9/12108937_12108937_1340536858000_120x90.jpg", "status":"停产" } ] } brandId 品牌ID bbsId 对应论坛id photo 图片链接 kind 级别 priceRange官方报价 modelTotal 车型总数 advantage 优点 disadvantage缺点 id 车型id title 车型名称 price 报价 status 在售 停产等 }}} === 2.3 [=#point203 getPriceList ] === {{{ 请求方式:get 请求参数:无 Url: http://mrobot.pcauto.com.cn/v3/price/getPriceList 返回: { "data":[ { "min":0, "title":"5万以下", "max":5, "indexId":0 }, { "min":5, "title":"5-8万", "max":8, "indexId":1 }, { "min":8, "title":"8-10万", "max":10, "indexId":2 }, { "min":10, "title":"10-15万", "max":15, "indexId":3 }, { "min":15, "title":"15-20万", "max":20, "indexId":4 }, { "min":20, "title":"20-25万", "max":25, "indexId":5 }, { "min":25, "title":"25-35万", "max":35, "indexId":6 }, { "min":35, "title":"35-50万", "max":50, "indexId":7 }, { "min":50, "title":"50-70万", "max":70, "indexId":8 }, { "min":70, "title":"70-100万", "max":100, "indexId":9 }, { "min":100, "title":"100-150万", "max":150, "indexId":10 }, { "min":150, "title":"150万以上", "max":99999, "indexId":11 } ] } indexId 价格范围索引 title 价格范围内容 }}} === 2.4 [=#point204 getSerialListByPrice ] === {{{ 请求方式get 请求参数: minPrice: 最低价格 maxPrice: 最高价格 Url: http://mrobot.pcauto.com.cn/v3/price/getSerialListByPrice?minPrice={minPrice}&maxPrice={maxPrice} 例子: http://mrobot.pcauto.com.cn/v3/price/getSerialListByPrice?minPrice=5&maxPrice=8 返回: { "data":[ { "manufacturerName":"奥迪", "letter":"A", "photo":"http://img2.pcauto.com.cn/pcauto/1011/29/1328170_audi.png", "serials":[ { "id":"8", "name":"奥迪TT", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" }, { "id":"3975", "name":"奥迪Q3", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" } ] }, { "manufacturerName":"宝马", "letter":"B", "photo":"http://img3.pcauto.com.cn/pcauto/1011/29/1328238_bmw_1.png", "serials":[ { "id":"424", "name":"宝马3系", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" } ] } ] } manufacturerName:厂商名 Letter:索引字母 Photo:厂商logo Serials: 车系列表   Id:车型id   Name:车型名称   Photo:车型logo }}} === 2.5 [=#point205 getArticleListBySerialId ] === {{{ 请求方式get 请求参数:   serialId 车系id   pageNo 默认0,第几页   pageSize 默认0,每页多少篇文章,0则返回所有相关文章 URL http://mrobot.pcauto.com.cn/v3/price/getArticleListBySerialId/{serialId}?pageNo={pageNo}&pageSize={pageSize} 范例: http://mrobot.pcauto.com.cn/v3/price/getArticleListBySerialId/161?pageNo=1&pageSize=10   返回: { "pageCount": "251", "pageNo": "1", "data": [{ "commentNum": "0", "id": "2066535", "title": "信达通宝全新BMW3系8月11日会展中心强势登鹭", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/07\/2066535_a.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2066532", "title": "全新宝马3系三种设计套装 力宝行均已到店", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/07\/2066532_4.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2066946", "title": "BMW南通宝诚服务nbsp;高领域高品质高效能", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/07\/2066946_1.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2063423", "title": "PCauto福州实拍全新宝马328i", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/05\/2063423_nEO_IMG_DSC_0501.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2064728", "title": "新宝尊宝马——传递责任之悦", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/06\/2064728_1.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2064397", "title": "宝马3系旅行版专利申报图 将进口引入", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/06\/2064397_20120805173925a.jpg", "channel": "新车频道" }, { "commentNum": "0", "id": "2064833", "title": "常州宝尊全新一代BMW 3系欢迎广大车友莅临品鉴", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/06\/2064833_1.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2043320", "title": "运动健将 个性套装 全新BMW 328i东莞实拍", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1207\/23\/2043320_1.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2062973", "title": "新宝尊全新宝马3系试驾会邀您来参加", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/04\/2062973_1.jpg", "channel": "汽车报价" }, { "commentNum": "0", "id": "2062789", "title": "BMW关怀-制动盘保养免工时费", "image": "http:\/\/img0.pcauto.com.cn\/pcauto\/1208\/03\/2062789_2.jpg", "channel": "汽车报价" }], "pageSize": "10" } pageCount:总共页数 id 文章id title 标题 channel 文章栏目 commentNum 评论数 Image 导读图 }}} === 2.6 [=#point206 sendCommentWihSerialId ] === {{{ 方式post 请求参数 serialId 车系id evaluate评价(好评差评) 1 好评 -1 差评 accountArea 来自哪里 需要UTF-8编码 分别是:android客户端 iphone客户端 content评论内容,需utf-8编码   common_session_id 太平洋通行证 若为空则匿名发送评论 请求URL http://mrobot.pcauto.com.cn/v3/price/post_comment/ 范例: http://mrobot.pcauto.com.cn/v3/price/post_comment/      返回:   {    resultCode:0    resultMessage:"评论主题id不存在"   }   resultCode 结果代码,0表示成功   resultMessage 显示提示信息 }}} === 2.7 [=#point207 getPhotoBySerialId ] === {{{ 方式get 请求参数:   serialId 车系id   Num 图片张数 Url: http://mrobot.pcauto.com.cn/v3/price/getPhotoBySerialId?Num={Num}&serialId={serialId} 范例: http://mrobot.pcauto.com.cn/v3/price/getPhotoBySerialId?Num=2&serialId=7610 返回: { "data":[ { "photos":[ { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897021116_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897021116_600x450.jpg" }, { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897021116_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897021116_600x450.jpg" } ], "name":"外观", "typeId":1 }, { "photos":[ { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897061120_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897061120_600x450.jpg" }, { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897061120_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/02/c4/12668173_12668173_1343897061120_600x450.jpg" } ], "name":"内饰", "typeId":2 }, { "photos":[ { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1203/20/c5/10974798_10974798_1332236011718_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1203/20/c5/10974798_10974798_1332236011718_600x450.jpg" }, { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1203/20/c5/10974798_10974798_1332236011718_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1203/20/c5/10974798_10974798_1332236011718_600x450.jpg" } ], "name":"其他细节", "typeId":3 }, { "photos":[ { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1108/05/c14/8557626_8557626_1312534887875_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1108/05/c14/8557626_8557626_1312534887875_600x450.jpg" }, { "smallPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1108/05/c14/8557626_8557626_1312534887875_120x90.jpg", "bigPhoto":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1108/05/c14/8557626_8557626_1312534887875_600x450.jpg" } ], "name":"官方图", "typeId":4 } ] } typeId 对应“外观”,“内饰”等分类 name 分类名称 photos(最多返回6组图片) smallPhoto 列表显示用小图 bigPhoto 图片客户端显示用大图 }}} === 2.8 [=#point208 getPhotoBySerialIdTypeId已经删除 ] === {{{ 用以前的接口,已经删除 }}} === 2.9 [=#point209 口碑 ] === {{{ 提交参数: serialId : 车系ID Url: http://mrobot.pcauto.com.cn/v3/price/koubei/{serialId} 范例: http://mrobot.pcauto.com.cn/v3/price/koubei/3605 返回口碑HTML页面 “我要点评”按钮:pcaction://postComment/{serialId} }}} === 2.10 [=#point210 车型终端概述 ] === {{{ 概述html: mrobot提供页面链接,客户端通过webview调用 客户端提供modelId: 类型id url : http://mrobot.pcauto.com.cn/v3/price/models/${modelId} 范例 http://mrobot.pcauto.com.cn/v3/price/models/21334 添加“进入论坛”按钮,链接:pcaction://bbs-topics/{$bbsId} }}} === 2.11 [=#point211 车型终端参数 ] === {{{ 参数html: mrobot提供页面链接,客户端通过webview调用 客户端提供modelId: 类型id url : http://mrobot.pcauto.com.cn/v3/price/detail/${modelId} 范例 http://mrobot.pcauto.com.cn/v3/price/detail/21334 }}} === 2.12 [=#point212 车型终端经销商] === {{{ 经销商html: mrobot提供页面链接,客户端通过webview调用 客户端提供modelId: 类型id areaId 地区ID (可选) areaName 地区名 (可选) UTF-8编码 url : http://mrobot.pcauto.com.cn/v3/price/dealers?modelId=${modelId}&areaId=&areaName= 范例 http://mrobot.pcauto.com.cn/v3/price/dealers?modelId=21334&areaId=&areaName= 添加地区选择按钮,按钮行为参考 http://mrobot.pcauto.com.cn/v2/price/models/20073 }}} === 2.13 [=#point213 车型对比结果 ] === {{{ mrobot提供页面链接,客户端通过webview调用 客户端提供id1和id2:是需要对比的两个产品 url http://mrobot.pcauto.com.cn/v3/price/detailCompare?id1=${id1}&id2=${id2} 范例: http://mrobot.pcauto.com.cn/v3/price/detailCompare?id1=21334&id2=21335 备注 网页javascript实现:switchEqualParam:默认显示所有参数。再执行则隐藏相同参数,如此反复 }}} === 2.14 [=#point214 购车计算器 ] === {{{   请求方式get   请求参数: modelId: 类型id Url: http://mrobot.pcauto.com.cn/v3/price/vbuycar/{modelId} 范例: http://mrobot.pcauto.com.cn/v3/price/vbuycar/18688 备注:参考http://price.pcauto.com.cn/vbuycar.jsp ,各项参数以选择框作为选择组件。\ }}} === 3 [=#point300 配合的接口(车型库接口及编辑出的接口) ] === 此部分的接口由车型库和编辑的同事配合 === 3.1 [=#point301 通过品牌ID得到车系列表 ] === {{{   请求方式get   请求参数:   brandId 品牌Id   Url : http://price.pcauto.com.cn/interface/iphone/serialGroup_list_v2.jsp?bid={brandId} 范例: http://price.pcauto.com.cn/interface/iphone/serialGroup_list_v2.jsp?bid=1   返回:   {    "manufacturers":[    {    "brandName":"奥迪",    "name":"一汽奥迪",    "serials":[    {    "id":"1",    "name":"奥迪A5",    "kind":"suv",    "priceRange":"37.28~56.7",    "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg",    "count":85    },    {    "id":"1",    "name":"奥迪A6L",    "kind":"suv",    "priceRange":"37.28~56.7",    "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg",    "count":85    }    ]    },    {    "brandName":"奥迪",    "name":"进口奥迪",    "serials":[    {    "id":"1",    "name":"奥迪A5",    "kind":"suv",    "priceRange":"37.28~56.7",    "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg",    "count":85    }    ]    }    ]   }   备注:   name 厂家名称    id 车系id    name 车系名称    kind级别    priceRange指导价    photo 图片   count: 返回的车型的数量   原型页面:    http://trac.pc.com.cn/mobile/pototype/ideas/auto_product/v1.0.8/03_explain_brand.html#nowjibie=1&duibix=0&CSUM=1 }}} === 3.2 [=#point302 通过车系ID得到车型列表 ] === {{{   请求方式get   请求参数:   SerialId 车系id url: http://price.pcauto.com.cn/interface/iphone/model_list_v2.jsp?serialId="+serialId   返回:   {    "brandId":356,    "serialGroupName":"奥迪Q5",    "bbsId":"16856",    "photo":"http: //XXXXX",    "kind":"SUV",    "priceRange":"123~125万",    "modelTotal":"5",    "advantage":"好啊好",    "disadvantage":"衰啊衰",    "data":[    {    "id":"19082",    "title":"奥迪进取型",    "price":"1-5", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1206/24/c9/12108937_12108937_1340536858000_120x90.jpg",    "status":"在售"    },    {    "id":"19083",    "title":"奥迪技术型",    "price":"1-3", "photo":"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1206/24/c9/12108937_12108937_1340536858000_120x90.jpg",    "status":"停产"    }    ]   }   备注:   brandId:品牌ID   bbsId 对应论坛id   photo 图片链接   kind 级别   priceRange官方报价   modelTotal 车型总数   advantage 优点   disadvantage 缺点   id 车型id   title 车型名称   price 报价   status 在售 停产等   原型页面:   http://trac.pc.com.cn/mobile/pototype/ideas/auto_product/v1.0.8/05_explain_cars.html#nowjibie=1&duibix=0&chexiback=pinpai&chexingback=chexi&CSUM=1 }}} === 3.3 [=#point303 通过价格返回车系列表(按首字母顺序排) ] === {{{   请求方式get   请求参数:   priceRange :价格范围 例如“5-8万”,“8-10万”、    URL: http://price.pcauto.com.cn/interface/iphone/serialGroup_list_by_price.jsp?minPrice=" +minPrice+"&maxPrice="+maxPrice;   返回:   {    "data": [    {    "manufacturerName": "奥迪",    "letter": "A",    "photo": "http://XXXX",    "serials": [    {    "id": "1",    "name": "奥迪A5",    "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg"    },    {    "id": "1",    "name": "奥迪A6L",    "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg"    }    ]    },    {    "manufacturerName": "阿斯顿马丁",    "letter": "A",    "photo": "http://XXXX",    "serials": [    {    "id": "1",    "name": "奥迪A5",    "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg"    }    ]    }    ]   }   备注:   manufacturerName:厂商名   Letter:索引字母   Photo:厂商logo   Serials: 车系列表   Id:车型id   Name:车型名称   Photo:车型logo 网页版页面:   http://price.pcauto.com.cn/price/q-p2.html 原型页面: http://trac.pc.com.cn/mobile/pototype/ideas/auto_product/v1.0.8/04_explain_price.html#nowjibie=1&duibix=0&CSUM=1 }}} === 3.4 [=#point304 通过车系ID得到相关文章 ] === {{{ 此接口废除,从快搜获取相关文章 }}} === 3.5 [=#point305 发表车系评论 ] === {{{   请求参数 content 评论内容,需utf-8编码 serialId 车系id evaluate 评价(好评差评) 1 好评 -1 差评 common_session_id 太平洋通行证,若为空则表示匿名评论 accountArea 来自哪里 需UTF-8编码 分别是:android客户端/iphone客户端 url : http://price.pcauto.com.cn/interface/iphone/post_serial_comment.jsp?evaluate=${evaluate}&accountArea=${accountArea}&content=${content}&serialId=${serialId}&common_session_id=${common_session_id} 范例: http://price.pcauto.com.cn/interface/iphone/post_serial_comment.jsp?evaluate=1&accountArea=iphone%E5%AE%A2%E6%88%B7%E7%AB%AF&content=%E6%B5%8B%E8%AF%95%E8%AF%84%E8%AE%BA&serialId=161&common_session_id=3E72F94E9857D58A9FCB95243CAD5ABA 范例: 发送限制:单ip每分钟最多5条   返回:   {    "resultCode":0,    "resultMessage":"评论主题id不存在"   } resultCode 结果代码,0表示成功 -1表示失败 resultMessage 显示提示信息   网页版页面:http://price.pcauto.com.cn/sg3746/comment.html   原型页面:   http://trac.pc.com.cn/mobile/pototype/ideas/auto_product/v1.0.8/15_explain_score.html#nowjibie=1&duibix=0&chexiback=pinpai&chexingback=chexi&CSUM=1 }}} === 3.6 [=#point306 口碑 ] === {{{   请求参数:   productId: 对应的汽车id   返回结果:   {    "score": {    "facade": 8.3,    "interior ": 8.3,    "control": 8.3,    "safe": 8.3,    "fuelConsump": 6.5,    "afterSales": 6.5,    "totalScore": 8.2,    "scoreMemberhip": 5000    },    "recommand": {    "yes": 2009,    "no": 747,    "purchaseSuggest": 73    },    "comment": [    {    "username": "中国人",    "date": "2012-05-23 22:38:12",    "content": "我买了一台11.5万的白配黑。啥都行。跑的起来。就是油耗好像不是说的那么低啊,市内要到10升了。高速也要8升。是我开的不好嘛。"    },    {    "username": "中国人",    "date": "2012-05-23 22:38:12",    "content": "我买了一台11.5万的白配黑。啥都行。跑的起来。就是油耗好像不是说的那么低啊,市内要到10升了。高速也要8升。是我开的不好嘛。"    }    ]   }   备注:   score : 评分模块   facade : 外观平均分   interior : 内饰平均分   control : 操控平均分   safe : 安全平均分   fuelConsump: 油耗平均分   afterSales: 售后平均分   totalScore: 网友平均分   scoreMemberhip : 打分人数   recommand : 推荐模块   yes : 推荐人数   no : 不推荐人数   purchaseSuggest : 推荐购买人数的百分比   comment : 评论模块   username : 用户名   date : 发表日期   content : 评论内容      网页版页面:http://price.pcauto.com.cn/sg3746/comment.html   原型页面: http://trac.pc.com.cn/mobile/pototype/ideas/auto_product/v1.0.8/05_explain_cars.html#nowjibie=1&duibix=0&chexiback=pinpai&CSUM=1 }}} === 3.7 [=#point307 购车计算器 ] === {{{   请求参数:   modelId: 汽车产品id   返回结果:   与原型一致的HTML页面,其中下拉的三角与跟网页版的一致,可以是下拉框或单选框。         备注:   原型页面:   http://trac.pc.com.cn/mobile/pototype/ideas/auto_product/v1.0.8/13_explain_calculator_detailed.html#nowjibie=1&duibix=0&CSUM=1 网页版页面: http://price.pcauto.com.cn/vbuycar.jsp }}} == 4. [=#point400 测试环境接口配置 ] == 改HOST的指向戴裕文的机器 192.168.23.101 mrobot.pconline.com.cn == 5. [=#point500 修改历史 ] == 2012-08-07 -删除接口3.4 通过车系ID得到相关文章,直接从快搜获取数据 2012-08-02: -接口第一版