Changes between Version 29 and Version 30 of pconline_chanpingku/intf


Ignore:
Timestamp:
08/06/2012 10:26:29 AM (14 years ago)
Author:
daiyuwen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pconline_chanpingku/intf

    v29 v30  
    193193 是否需要登录:否 
    194194 请求参数: 
    195 typeID: 产品类型id 
    196                 http://mrobot.pconline.com.cn/v2/product/brand/41234 
     195     typeID: 产品类型id 
     196 Url: 
     197    http://mrobot.pconline.com.cn/v3/product/brand/ 
     198 范例 
     199     http://mrobot.pconline.com.cn/v3/product/brand/20937 
    197200             
    198201        返回参数: 
    199202{ 
    200     "recommondBrands":{ 
    201         "total":2, 
    202         "brands":[ 
    203             { 
    204                 "id":22586, 
    205                 "logo":"http://img0.pcauto.com.cn/pcauto/1112/07/1743776_ACS5050.png", 
    206                 "name":"三星" 
    207             }, 
    208             { 
    209                 "id":46291, 
    210                 "logo":"http://img0.pcauto.com.cn/pcauto/1112/07/1743776_ACS5050.png", 
    211                 "name":"HTC" 
    212             } 
    213         ] 
    214     }, 
    215     "totalBrands":{ 
    216         "total":3, 
    217         "sections":[ 
    218             { 
    219                 "brands":[ 
    220                     { 
    221                         "id":22586, 
    222                         "letter":"A", 
    223                         "name":"A三星" 
    224                     }, 
    225                     { 
    226                         "id":46291, 
    227                         "letter":"A", 
    228                         "name":"AHTC" 
    229                     } 
    230                 ], 
    231                 "index":"A", 
    232                 "rowNum":2 
    233             }, 
    234             { 
    235                 "brands":[ 
    236                     { 
    237                         "id":46291, 
    238                         "letter":"B", 
    239                         "name":"AHTC" 
    240                     } 
    241                 ], 
    242                 "index":"B", 
    243                 "rowNum":1 
    244             } 
    245         ] 
    246     }, 
    247     "typeId":"20937" 
    248 } 
    249                  
    250     type :请求的类型 
    251         partition-order-by:A,B,C等块内部,品牌的次序;目前没有参数,默认为空 
     203        "partition": { 
     204                "recommondBrands": { 
     205                        "total": 2, 
     206                        "brands": [{ 
     207                                "id": 22586, 
     208                                "logo": "http:\/\/img0.pcauto.com.cn\/pcauto\/1112\/07\/1743776_ACS5050.png", 
     209                                "name": "三星" 
     210                        }, 
     211                        { 
     212                                "id": 46291, 
     213                                "logo": "http:\/\/img0.pcauto.com.cn\/pcauto\/1112\/07\/1743776_ACS5050.png", 
     214                                "name": "HTC" 
     215                        }] 
     216                }, 
     217                "totalBrands": { 
     218                        "total": 3, 
     219                        "sections": [{ 
     220                                "brands": [{ 
     221                                        "id": 22586, 
     222                                        "letter": "A", 
     223                                        "name": "A三星" 
     224                                }, 
     225                                { 
     226                                        "id": 46291, 
     227                                        "letter": "A", 
     228                                        "name": "AHTC" 
     229                                }], 
     230                                "index": "A", 
     231                                "rowNum": 2 
     232                        }, 
     233                        { 
     234                                "brands": [{ 
     235                                        "id": 46291, 
     236                                        "letter": "B", 
     237                                        "name": "AHTC" 
     238                                }], 
     239                                "index": "B", 
     240                                "rowNum": 1 
     241                        }] 
     242                } 
     243        }, 
     244        "type": "20937" 
     245}                
     246        type :请求的类型 
    252247        partition:分块集 
    253248        recommondBrands:推荐版块集合,