Changes between Version 1 and Version 2 of pcauto_chexingku/web-intf


Ignore:
Timestamp:
08/02/2012 12:59:48 PM (14 years ago)
Author:
daiyuwen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_chexingku/web-intf

    v1 v2  
    66 2. [#point200 mrobot的接口 ] 
    77 
    8  2.1 [#point201 产品终端页报价 ] 
    9  
    10  2.2 [#point202 产品终端页网上比价 ] 
    11  
    12  2.3 [#point203 产品终端页概述 ] 
    13  
    14  2.4 [#point204 产品终端页报参数] 
    15  
    16  2.5 [#point205 产品对比页 ] 
    17  
    18  2.6 [#point206 请求产品资讯 ] 
    19  
    20  2.7 [#point207 某产品类型的品牌列表 ] 
    21  
    22  2.8 [#point208 产品列表 ] 
    23  
    24  2.9 [#point209 产品点评界面 ] 
    25  
    26  2.10 [#point210 产品发送评论 ] 
    27  
    28  2.11 [#point211 搜索产品(品牌分类统计) ] 
    29  
    30  2.12 [#point212 搜索产品(产品结果列表)] 
    31  
    32  2.13 [#point213 产品搜索热点推荐 ] 
    33  
    34  2.14 [#point214 产品首页 ] 
     8 2.1 [#point201 getSerialListByBrandId ] 
     9 
     10 2.2 [#point202 getModelListBySerialId ] 
     11 
     12 2.3 [#point203 getPriceList ] 
     13 
     14 2.4 [#point204 getSerialListByPrice] 
     15 
     16 2.5 [#point205 getArticleListBySerialId ] 
     17 
     18 2.6 [#point206 SendCommentWihSerialId ] 
     19 
     20 2.7 [#point207 getPhotoBySerialId ] 
     21 
     22 2.8 [#point208 getPhotoBySerialIdTypeId ] 
     23 
     24 2.9 [#point209 口碑 ] 
     25 
     26 2.10 [#point210 车型终端概述 ] 
     27 
     28 2.11 [#point211 车型终端参数 ] 
     29 
     30 2.12 [#point212 车型终端经销商] 
     31 
     32 2.13 [#point213 车型对比结果 ] 
     33 
     34 2.14 [#point214 购车计算器 ] 
    3535 
    3636 
     
    8282mrobot自身的接口,由客户端调用 
    8383 
    84 ===  2.1 [=#point201 产品终端页报价 ] === 
    85 {{{ 
    86   HTTP请求方式:get 
    87     是否需要登录:否 
    88     请求参数:productID: 类型id 
    89         areaName:地区名,该参数需要url编码 
    90         http://mrobot.pconline.com.cn/v2/product/price/priductid 
    91    
    92         返回参数{ 
    93             报价html: 
    94                 添加“网上比价”按钮,链接:pcaction://comparePrice/{$productId} 
     84 
     85===  2.1 [=#point201 getSerialListByBrandId ] === 
     86{{{ 
     87请求方式get 
     88请求参数: 
     89  brandId 品牌Id 
     90 
     91返回: 
     92{ 
     93        manufacturers:[ 
     94        { 
     95                name:"一汽奥迪", 
     96                serials: 
     97                [ 
     98                        { 
     99                                id:"1", 
     100                                name:"奥迪A5", 
     101                                kind:"suv", 
     102                                priceRange:"37.28~56.7",                         
     103                                photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" 
     104                        }, 
     105                        { 
     106                                id:"1", 
     107                                name:"奥迪A6L" 
     108                                kind:"suv", 
     109                                priceRange:"37.28~56.7",         
     110                                photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" 
     111                        } 
     112                ] 
     113        }, 
     114        { 
     115                name:"进口奥迪", 
     116                serials: 
     117                [ 
     118                        { 
     119                                id:"1", 
     120                                name:"奥迪A5" 
     121                                kind:"suv", 
     122                                priceRange:"37.28~56.7",         
     123                                photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" 
     124                        } 
     125                ] 
     126        }] 
     127} 
     128name 厂家名称 
     129        id 车系id 
     130        name 车系名称 
     131        kind级别 
     132        priceRange指导价 
     133        photo 图片 
     134}}} 
     135 
     136 
     137===  2.2 [=#point202 getModelListBySerialId ] === 
     138{{{ 
     139请求方式get 
     140请求参数: 
     141  SerialId 车系id 
     142 
     143返回: 
     144{ 
     145        serialGroupName:”奥迪Q5”, 
     146        bbsId:"16856", 
     147        photo:"http://XXXXX" 
     148        kind:"SUV", 
     149        priceRange:"123~125万",   
     150        modelTotal:"5", 
     151        ceditNumber:"123456", 
     152        advantage:"好啊好", 
     153        disadvatage:"衰啊衰", 
     154        data:[ 
     155        { 
     156                id:"19082", 
     157                title:"奥迪进取型", 
     158                price:"1-5", 
     159                status:"在售" 
     160        }, 
     161        { 
     162                id:"19083", 
     163                title:"奥迪技术型", 
     164                price:"1-3", 
     165                status:"停产" 
    95166        } 
    96  
    97 }}} 
    98  
    99 ===  2.2 [=#point202 产品终端页网上比价 ] === 
    100 {{{ 
    101  
    102         HTTP请求方式:get 
    103     是否需要登录:否 
    104     请求参数:productID: 类型id 
    105 http://mrobot.pconline.com.cn/v2/product/comparePrice/priductid 
    106         返回参数{ 
    107                 网上比价html 
    108   每个商城添加一个“购买”按钮,链接到对应商城的产品终端页 
     167        ] 
     168} 
     169bbsId 对应论坛id 
     170photo 图片链接 
     171kind 级别 
     172priceRange官方报价 
     173modelTotal 车型总数 
     174ceditNumber 贷款电话 
     175advantage 优点 
     176disadvatage 缺点 
     177        id 车型id 
     178        title 车型名称 
     179        price 报价 
     180        status 在售 停产等 
     181}}} 
     182 
     183 
     184===  2.3 [=#point203 getPriceList ] === 
     185{{{ 
     186请求方式get 
     187请求参数 无 
     188返回: 
     189{ 
     190        data:[ 
     191        { 
     192                indexId:”1”, 
     193                title:”1~3万” 
     194  }, 
     195  { 
     196                indexId:”2”, 
     197                title:”4~9万” 
     198  } 
     199  ] 
     200} 
     201indexId 价格范围索引 
     202title 价格范围内容 
     203 
     204http://ks.pcauto.com.cn/search.jsp?q=state:1&returnType=json&appName=auto_price&perPage=0&clustered=cluster_price,cluster_brand,cluster_std_displacement,cluster_kind,cluster_gearbox 
     205}}} 
     206 
     207 
     208===  2.4 [=#point204 getSerialListByPrice] === 
     209{{{ 
     210请求方式get 
     211请求参数: 
     212  indexed 对应1.3返回的indexId,用于搜索该范围内的车系数据,例如1.3返回 
     213{ 
     214        data:[ 
     215        { 
     216                indexId:”1”, 
     217                title:”1~3万” 
     218  }, 
     219  { 
     220                indexId:”2”, 
     221                title:”4~9万” 
     222  } 
     223  ] 
     224} 
     225当客户端请求indexId为1时,则返回1~3万范围内的车系信息 
     226   
     227返回: 
     228{ 
     229        data:[ 
     230        { 
     231                manufacturerName:"奥迪", 
     232  letter:"A", 
     233                photo:"http://XXXX" 
     234                Serials: 
     235                [ 
     236                        { 
     237                                id:"1", 
     238                                name:"奥迪A5",            photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" 
     239                        }, 
     240                        { 
     241                                id:"1", 
     242                                name:"奥迪A6L"                    photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" 
     243                        } 
     244                ] 
     245        }, 
     246        { 
     247                manufacturerName:"阿斯顿马丁", 
     248  letter:"A", 
     249                photo:"http://XXXX" 
     250                Serials: 
     251                [ 
     252                        { 
     253                                id:"1", 
     254                                name:"奥迪A5"             photo:"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1204/17/c0/11275790_11275790_1334627727533_120x90.jpg" 
     255                        } 
     256                ] 
     257        }] 
     258} 
     259manufacturerName:厂商名 
     260Letter:索引字母 
     261Photo:厂商logo 
     262Serials: 车系列表 
     263  Id:车型id 
     264  Name:车型名称 
     265  Photo:车型logo 
     266}}} 
     267 
     268 
     269===  2.5 [=#point205 getArticleListBySerialId ] === 
     270{{{ 
     271请求方式get 
     272请求参数: 
     273  serialId 车系id 
     274  pageNum 默认0,第几页 
     275  pageCount 默认0,每页多少篇文章,0则返回所有相关文章 
     276   
     277  返回: 
     278{ 
     279  Count:20, 
     280  pageNo:1, 
     281  pageSize:20 
     282        data:[ 
     283        { 
     284                id:"123", 
     285                title:"新车", 
     286                channel:"新闻", 
     287                commentNum:"12", 
     288        "image":"http://xxdxx.jpg" 
     289        }, 
     290        { 
     291                id:"123", 
     292                title:"新车", 
     293                channel:"新闻", 
     294                commentNum:"12", 
     295        "image":"http://xxdxx.jpg" 
    109296        } 
    110          
    111  
    112          
    113   类似于 
    114         产品终端-查看所有经销商报价: http://mrobot.pconline.com.cn/v2/product/dealers/{产品id}  
    115   例子: http://mrobot.pconline.com.cn/v2/product/dealers/485270  
    116 }}} 
    117  
    118 ===  2.3 [=#point203 产品终端页概述 ] === 
    119 {{{ 
    120 HTTP请求方式:get 
    121     是否需要登录:否 
    122     请求参数:productID: 类型id 
    123 http://mrobot.pconline.com.cn/v2/product/abstact/priductid 
    124          返回参数{· 
    125              产品概述的html; 
    126                  添加“进入论坛”按钮:pcaction://bbs-topics/{$bbsid} 
    127  
    128          } 
    129 }}} 
    130  
    131 ===  2.4 [=#point204 产品终端页报参数] === 
    132 {{{ 
    133    是否需要登录:否 
    134       请求参数:productID: 类型id 
    135   http://mrobot.pconline.com.cn/v2/product/detail/priductid 
    136          返回参数{· 
    137              产品具体参数的html; 
    138          } 
    139 }}} 
    140  
    141 ===  2.5 [=#point205 产品对比页 ] === 
    142 {{{ 
    143  
    144 请求方式:get 
    145 是否需要登录:否 
    146 请求参数: 
    147   Id1和id2:是需要对比的两个产品 
    148   hideSameParams:真为true,假为false;真则隐藏相同的参数,否则显示所有参数。 
    149 }}} 
    150  
    151 ===  2.6 [=#point206 请求产品资讯 ] === 
    152 {{{ 
    153 getArticleListBySerialId 
    154 http://mrobot.pconline.com.cn/v2/product/information/priductid&ordreId=1&fmt=json  
    155  
    156 请求方式:get  
    157 是否需要登录:否  
    158 请求参数:  
    159  
    160 productId:产品id  
    161 orderId:排序方式,1为按热度倒序,2为按热度正序,3为按价格倒序,4为按价格正序,5为按日期倒序,6为按日期正序     
    162  
    163 返回参数{ 
    164    "productId":1021, 
    165     "total":20, 
    166         "orderId":1, 
    167         "fmt":json, 
    168         "articleList":[ 
    169        { 
    170             "id ":1234, 
    171                 "title":"苦逼0", 
    172                 "channel":"评测", 
    173          
    174            }, 
    175              { 
    176               "id ":1234, 
    177                 "title":"苦逼0", 
    178                 "channel":"评测", 
    179        
    180            } 
    181     ]    
    182 } 
    183  
     297        ] 
     298} 
    184299id 文章id 
    185300title 标题 
    186301channel 文章栏目 
    187302commentNum 评论数 
    188 }}} 
    189  
    190 ===  2.7 [=#point207 某产品类型的品牌列表 ] === 
    191 {{{ 
    192  HTTP请求方式:get 
    193  是否需要登录:否 
    194  请求参数: 
    195 typeID: 产品类型id 
    196                 http://mrobot.pconline.com.cn/v2/product/brand/41234 
    197              
    198         返回参数: 
    199         { 
    200         "type":2, 
    201          
    202         "partition":{ 
    203            "recommondBrands":{ 
    204                   "total":3, 
    205                “brands”:[ 
    206                 { 
    207                     "id": 693, 
    208                     "logo": "http:\/\/img0.pcauto.com.cn\/pcauto 
    209  
    210 \/1112\/07\/1743776_ACS5050.png", 
    211                     "letter": "A", 
    212                     "name": "af" 
    213                 }, 
    214 ...... 
    215             ] 
    216            }, 
    217            "totalBrands":{ 
    218                         "total":20, 
    219                          "sections": [ 
    220         { 
    221             "brands": [ 
    222                 { 
    223                     "id": 693, 
    224                     "logo": "http:\/\/img0.pcauto.com.cn\/pcauto 
    225  
    226 \/1112\/07\/1743776_ACS5050.png", 
    227                     "letter": "A", 
    228                     "name": "AC瀹濋┈" 
    229                 }, 
    230 ...... 
    231             ], 
    232             "index": "A", 
    233             "rowNum": 3 
    234         }, 
    235         { 
    236             "brands": [ 
    237                 { 
    238                     "id": 723, 
    239                     "logo": "http:\/\/img0.pcauto.com.cn\/pcauto 
    240  
    241 \/1203\/27\/1875156_babosi5050png.png", 
    242                     "letter": "B", 
    243                     "name": "宸村崥鏂?" 
    244                 }, 
    245 ...... 
    246             ], 
    247             "index": "B", 
    248             "rowNum": 15 
    249         }, 
     303Image 导读图 
     304}}} 
     305 
     306 
     307===  2.6 [=#point206 SendCommentWihSerialId ] === 
     308{{{ 
     309 发布评论需要什么参数 
     310方式post 
     311  请求参数 
     312  comment 评论内容 
     313  serialId 车系id 
     314  evaluate 评价(好评差评) 
     315  token 通行证token 
     316   
     317  返回: 
     318  { 
     319        resultCode:0 
     320        resultMessage:"评论主题id不存在" 
     321  } 
     322  resultCode 结果代码,0表示成功 
     323  resultMessage 显示提示信息 
     324}}} 
     325 
     326 
     327===  2.7 [=#point207 getPhotoBySerialId ] === 
     328{{{ 
     329方式get 
     330请求参数: 
     331  serialId 车系id 
     332  Num 图片张数 
     333返回: 
     334{ 
     335        data:[ 
     336        { 
     337                typeId:"1" 
     338                name:"外观" 
     339                photos:[ 
    250340                { 
    251             "brands": [ 
    252                 { 
    253                     "id": 723, 
    254                     "logo": "http:\/\/img0.pcauto.com.cn\/pcauto 
    255  
    256 \/1203\/27\/1875156_babosi5050png.png", 
    257                     "letter": "Z", 
    258                     "name": "宸村崥鏂?" 
    259                 }, 
    260 ...... 
    261                  
    262             ], 
    263             "index": "Z", 
    264             "rowNum": 2 
    265         } 
    266            } 
     341                        smallPhoto:"http://", 
     342                        bigPhoto:"http://" 
     343                }, 
     344                { 
     345                        smallPhoto:"http://", 
     346                        bigPhoto:"http://" 
     347                } 
     348                ] 
     349        }, 
     350        { 
     351                typeId:"2" 
     352                name:"内饰" 
     353                photos:[ 
     354                { 
     355                        smallPhoto:"http://", 
     356                        bigPhoto:"http://" 
     357                }, 
     358                { 
     359                        smallPhoto:"http://", 
     360                        bigPhoto:"http://"       
     361                } 
     362                ]        
    267363        } 
     364        ] 
     365} 
     366typeId 对应“外观”,“内饰”等分类 
     367name 分类名称 
     368photos(最多返回6组图片) 
     369        smallPhoto 列表显示用小图 
     370        bigPhoto 图片客户端显示用大图 
     371}}} 
     372 
     373 
     374===  2.8 [=#point208 getPhotoBySerialIdTypeId ] === 
     375{{{ 
     376请求方式get 
     377请求参数: 
     378serialId 车系id 
     379typeId 图片类型id,对应外观,内饰等 
     380{ 
     381        photos:[ 
     382        { 
     383                smallPhoto:"http://", 
     384                bigPhoto:"http://"       
     385        }, 
     386        { 
     387                smallPhoto:"http://", 
     388                bigPhoto:"http://"       
    268389        } 
    269                  
    270     type :请求的类型 
    271         partition-order-by:A,B,C等块内部,品牌的次序;目前没有参数,默认为空 
    272         partition:分块集 
    273         recommondBrands:推荐版块集合, 
    274         totalBrands;品牌的总集合 
    275         total:版块集合内部元素的总数 
    276         brands:版块内品牌集合 
    277         id:品牌id 
    278         logo:品牌logo图片url 
    279         letter;品牌名称首字母 
    280         name:品牌名称 
    281         sections:品牌的总集合的分块,按字母顺序分 
    282         index:分块所属的字母 
    283         rowNum:分块内品牌数量 
    284 }}} 
    285  
    286 ===  2.8 [=#point208 产品列表 ] === 
    287 {{{ 
    288 类似于老版本分类产品列表: http://mrobot.pconline.com.cn/v2/product/types/{产品分类id}?pageNo=1&orderId=1&fmt=json  
    289 例子: http://mrobot.pconline.com.cn/v2/product/types/20937?pageNo=1&orderId=1&fmt=json  
    290  
    291   请求方式:get  
    292   是否需要登录:否  
    293   请求参数:  
    294    
    295   typeID:产品分类id 
    296   pageNo:页码  
    297   orderId:排序方式,1为按热度倒序,2为按热度正序,3为按价格倒序,4为按价格正序,5为按日期倒序,6为按日期正序  
    298   fmt:返回格式  
    299   需要添加请求参数 brandID:品牌id 
    300  
    301  
    302 }}} 
    303  
    304 ===  2.9 [=#point209 产品点评界面 ] === 
    305 {{{ 
    306     HTTP请求方式:get 
    307     是否需要登录:否 
    308   请求参数:productID: 类型id 
    309      http://mrobot.pconline.com.cn/v2/product/comment/productId 
    310         { 
    311                 添加“我要点评”按钮:pcaction://postComment/{$productId}  
    312         } 
    313 }}} 
    314  
    315 ===  2.10 [=#point210 产品发送评论 ] === 
    316 {{{ 
    317 发送参数类似于文章,论坛发送评论。 
    318     HTTP请求方式:post 
    319     是否需要登录:都可以 
    320     请求参数: 
    321         productid:产品id 
    322         producturl;产品url 
    323         score:评分数值 
    324     content:评论内容 
    325    isanonymous 是否匿名 
    326     common_session_Id:用户的author_token 
    327          
    328 }}} 
    329  
    330 ===  2.11 [=#point211 搜索产品(品牌分类统计) ] === 
    331 {{{ 
    332  HTTP请求方式:get 
    333     是否需要登录:否 
    334   请求参数:kw:查询关键字 
    335  
    336 Uri :http://mrobot.pcauto.com.cn/v2/price/models/search-type?kw=%E5%AE%9D%E9%A9%AC 
    337     返回参数: 
    338         { 
    339         "kw":"sony", 
    340         "totle":1000, 
    341         "types":[ 
    342    { 
    343    "sid":42123, 
    344    "name":"手机", 
    345    "num":100 
    346  },{ 
    347    "sid":42123, 
    348   "name":"笔记本", 
    349    "num":10 
    350 0 
    351 },{ 
    352    "sid":42123, 
    353 "name":"平板电脑", 
    354    "num":100 
    355 },{ 
    356    "sid":42123, 
    357 "name":"数码相机", 
    358    "num":100, 
    359  
    360 },{ 
    361    "sid":42123, 
    362 "name":"超级本", 
    363    "num":10 
    364 } 
    365 ] 
    366         } 
    367  
    368         kw:搜索关键字(采用UTF-8方式编码), 
    369         totle:结果集的总数, 
    370         types:类型的集合, 
    371          
    372         (可以为 产品类型id) 
    373  
    374 }}} 
    375  
    376 ===  2.12 [=#point212 搜索产品(产品结果列表)] === 
    377 {{{ 
    378         HTTP请求方式:get 
    379     是否需要登录:否 
    380     请求参数:kw:查询关键字 
    381                   type:查询的类型id 
    382                   pageNo:显示的页码,默认为1; 
    383               orderId:排序方式,1为按热度倒序,2为按热度正序,3为按价格倒序,4为按价格正序,5为按日期倒序,6为按日期正序  
    384 http://ks.pconline.com.cn/search.jsp?appName=product&returnType=json&return=smalltype_id,category,shortName,hot_new,id,title,pub_url,pic,summary,price&sort=score:desc,access:desc&perPage=25&pageNo=1&highlight=false&q=55&clusterQuery=cluster_smalltype%3A%B1%CA%BC%C7%B1%BE  
    385  
    386  
    387 Uri:http://mrobot.pconline.com.cn/v2/product/models/search?kw=fa&type=4234&pageNo=1&order=1 
    388     返回参数: 
    389         { 
    390         "kw":"sony", 
    391         "type":4 
    392         "pageNo": "1", 
    393         "orderId":1, 
    394     "total": 113, 
    395     "pageCount": 5, 
    396     "pageSize": 25, 
    397     "data": [ 
    398          { 
    399     "is-ultrabook": 0, 
    400     "id": "503012", 
    401     "hotNew": "2", 
    402     "price": "4599", 
    403     "items": [ 
    404         "相机类型", 
    405         "卡片数码相机", 
    406         "有效像素", 
    407         "1210万像素", 
    408         "变焦倍数", 
    409         "无光学变焦", 
    410         "传感器尺寸", 
    411         "1\/2.3英寸", 
    412         "等效焦距", 
    413         "21mm", 
    414         "液晶屏尺寸", 
    415         "3英寸", 
    416         "高清视频", 
    417         "1080p 1920×1080逐行", 
    418         "存储介质", 
    419         "SD卡,SDHC卡", 
    420         "重量", 
    421         "157g(包含存储卡),155g(不包含存储卡)" 
    422     ], 
    423     "idxPic": "http:\/\/img.pconline.com.cn\/images\/product\/5030\/503012\/dc_casio_tr150_1_sn.jpg", 
    424     "shortName": "卡西欧 EXILIM EX-TR150", 
    425     "url": "http:\/\/mrobot.pconline.com.cn\/v2\/product\/models\/503012" 
    426                 } 
    427                 .. 
    428         ,{ 
    429     "is-ultrabook": 0, 
    430     "id": "471231", 
    431     "hotNew": "0", 
    432     "price": "288", 
    433     "items": [ 
    434         "适用类型", 
    435         "台式机", 
    436         "电源标准", 
    437         "ATX,2.31", 
    438         "额定功率", 
    439         "350W", 
    440         "CPU供电接口", 
    441         "4+4pin", 
    442         "大4Pin接口", 
    443         "4个", 
    444         "SATA接口", 
    445         "3个", 
    446         "PFC类型", 
    447         "被动式PFC", 
    448         "风扇描述", 
    449         "一个12CM风扇,散热片" 
    450     ], 
    451     "idxPic": "http:\/\/img.pconline.com.cn\/images\/product\/4712\/471231\/pow_tt_450-1_sn.jpg", 
    452     "shortName": "TT TR2-450", 
    453     "url": "http:\/\/mrobot.pconline.com.cn\/v2\/product\/models\/471231" 
    454         } 
    455        ] 
    456  
    457         } 
    458  
    459 类似于搜索超极本:http://mrobot.pconline.com.cn/v2/product/models/search_ultrabook?keyword=%E8%81%94%E6%83%B3&pageNo=1&order=1 
    460 请求方式:get是否需要登录:否请求参数: 
    461 keyword:搜索关键字,需要url编码pageNo:请求页码order:同产品分类列表 
    462 }}} 
    463  
    464 ===  2.13 [=#point213 产品搜索热点推荐 ] === 
    465 {{{ 
    466     HTTP请求方式:get 
    467   是否需要登录:否 
    468   请求参数: 
    469                 fmt:返回格式 
    470 Uri:http://mrobot.pconline.com.cn/v2/product/hotspot 
    471          
    472         返回参数: 
    473         { 
    474             "total":3, 
    475                 "fmt":"json", 
    476                 "words":[ 
    477                   { 
    478                     "name": "三星", 
    479                   }, 
    480 ...... 
    481                 ] 
    482                  
    483         } 
    484  
    485  
    486  
    487 说明: 
    488 total:热点推荐总数 
    489 fmt:返回的格式 
    490 words:热点集合 
    491 name:热点名字 
    492 image:热点名字 
    493 }}} 
    494  
    495 ===  2.14 [=#point214 产品首页 ] === 
    496 {{{ 
    497 HTTP请求方式:get 
    498   是否需要登录:否 
    499 Uri: 
    500 http://mrobot.pconline.com.cn/v2/product/information 
    501 分类下方外显该分类排名前三的品牌的名称(例如http://product.pconline.com.cn/mobile/ 页面中,品牌分类的前三个品牌“三星 HTC 诺基亚”); 
    502 }}} 
     390        ] 
     391} 
     392smallPhoto 列表显示用小图 
     393bigPhoto 图片客户端显示用大图 
     394}}} 
     395 
     396 
     397===  2.9 [=#point209 口碑 ] === 
     398{{{ 
     399口碑html:mrobot提供页面链接,客户端通过webview调用 
     400客户端提供productID: 类型id 
     401添加“我要点评”按钮:pcaction://postComment/{$productId}  
     402}}} 
     403 
     404 
     405===  2.10 [=#point210 车型终端概述 ] === 
     406{{{ 
     407概述html: mrobot提供页面链接,客户端通过webview调用 
     408客户端提供modelId: 类型id 
     409添加“进入论坛”按钮,链接:pcaction://bbs-topics/{$bbsId} 
     410}}} 
     411 
     412 
     413===  2.11 [=#point211 车型终端参数 ] === 
     414{{{ 
     415参数html: mrobot提供页面链接,客户端通过webview调用 
     416客户端提供modelId: 类型id 
     417}}} 
     418 
     419 
     420===  2.12 [=#point212 车型终端经销商] === 
     421{{{ 
     422经销商html: mrobot提供页面链接,客户端通过webview调用 
     423客户端提供modelId: 类型id 
     424添加地区选择按钮,按钮行为参考 http://mrobot.pcauto.com.cn/v2/price/models/20073  
     425}}} 
     426 
     427 
     428===  2.13 [=#point213 车型对比结果 ] === 
     429{{{ 
     430mrobot提供页面链接,客户端通过webview调用 
     431客户端提供id1和id2:是需要对比的两个产品 
     432hideSameParams:真为true,假为false;真则隐藏相同的参数,否则显示所有参数。 
     433}}} 
     434 
     435 
     436===  2.14 [=#point214 购车计算器 ] === 
     437{{{ 
     438mrobot提供页面链接,客户端通过webview调用 
     439客户端提供modelId: 类型id 
     440备注:参考http://price.pcauto.com.cn/vbuycar.jsp ,各项参数以选择框作为选择组件。\ 
     441}}} 
     442 
     443 
     444 
    503445 
    504446