== 产品库项目接口 == === 目录 === 1. [#point100 开发时间,负责人及进度汇报 ] 2. [#point200 mrobot的接口 ] 2.1 [#point201 产品终端页报价 ] 3. [#point300 配合的接口(产品库接口及编辑出的接口) ] 3.1 [#point301 产品终端页报价 ] 3.2 [#point302 产品资讯接口 ] 3.3 [#point303 某产品类型的品牌列表 ] 3.4 [#point304 产品发送评论 ] 3.5 [#point305 显示分类排名前三的品牌 ] 3.6 [#point306 产品搜索热点推荐(编辑出) ] 3.7 [#point307 推荐品牌(编辑出) ] 4. [#point400 测试环境接口配置 ] 5. [#point500 修改历史 ] === 3.1 [=#point301 产品终端页网上比价 ] === {{{ HTTP请求方式:get 请求参数: productID: 产品id 返回参数:    [{    storeName:"卓越",    price:"2499.0",    shippingRate:"购物满29元免运费",    buyLink:"http://XXXX"    },{    storeName:"卓越",    price:"2499.0",    shippingRate:"购物满29元免运费",    buyLink:"http://XXXX"    }] 备注: 商城名称:storeName 报价:price 运费:shippingRate 购买:buyLink   网页版类似页面:http://product.pconline.com.cn/pdlib/pk/price410030.html   效果图:    }}} === 3.2 [=#point302 产品资讯接口 ] === {{{ HTTP请求方式:get 请求参数: productId:产品id   pageNo:第几页   pageSize:分页数 返回参数 { "productId":1021, "total":20, "articleList":[ { "id ":1234, "title":"苦逼0", "channel":"评测", "image":"http://xxdxx.jpg" }, { "id ":1234, "title":"苦逼0", "channel":"导购", "image":"http://xxdxx.jpg" } ] } 备注: id 文章id title 标题 channel 文章栏目,"评测"还是“行情” image 导读图 网页版类似页面:product.pconline.com.cn/mobile/nokia/410030_review.html   效果图: }}} === 3.3 [=#point303 某产品类型的品牌列表 ] === {{{ HTTP请求方式:get 请求参数: typeID: 产品类型id,例如手机20937 返回参数:   {    "typeId": 20937,    "totalBrands": {    "total": 20,    "sections": [    {    "brands": [    {    "id": 693,    "logo": "http://img0.pcauto.com.cn/pcauto/1112/07/1743776_ACS5050.png",    "letter": "A",    "name": "APPLE"    },    {    "id": 693,    "logo": "http://img0.pcauto.com.cn/pcauto/1112/07/1743776_ACS5050.png",    "letter": "A",    "name": "A"    }    ],    "index": "A",    "rowNum": 3    },    {    "brands": [    {    "id": 723,    "logo": "http://img0.pcauto.com.cn/pcauto/1203/27/1875156_babosi5050png.png",    "letter": "B",    "name": "B品牌1"    },    {    "id": 723,    "logo": "http://img0.pcauto.com.cn/pcauto/1203/27/1875156_babosi5050png.png",    "letter": "B",    "name": "B品牌2"    }    ],    "index": "B",    "rowNum": 15    }    ]    }   }   typeId :产品类型id,例如手机20937 total:版块集合内部元素的总数 brands:版块内品牌集合 id:品牌id logo:品牌logo图片url letter;品牌名称首字母 name:品牌名称 sections:品牌的总集合的分块,按字母A-Z顺序分 index:分块所属的字母 rowNum:分块内品牌数量   备注: 网页版类似页面http://product.pconline.com.cn/notebook/ }}} === 3.4 [=#point304 产品发送评论 ] === {{{ }}} === 3.5 [=#point305 显示分类排名前三的品牌 ] === {{{ }}} === 3.6 [=#point306 产品搜索热点推荐(编辑出) ] === {{{ }}} === 3.7 [=#point307 推荐品牌(编辑出) ] === {{{ }}} == 5. [=#point500 修改历史 ] ==