Changes between Version 8 and Version 9 of pcauto_4.3.0/interface


Ignore:
Timestamp:
04/11/2014 10:13:11 AM (12 years ago)
Author:
leijingtang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.3.0/interface

    v8 v9  
    7777提交方式:GET 
    7878是否需要登录:否 
    79 返回格式:json  
     79返回格式:html  
    8080缓存方式:无 
    8181缓存时间:无 
     
    8686设计稿待定 
    8787}}} 
     88 
     89 
     90=== 2.3 [=#point203 经销商详情]=== 
     91{{{ 
     92修改昵称 
     93接口URL:http://mrobot.pcauto.com.cn/v3/price/dealersDetailv40?areaId=1&modelId=29355&seq=308290002&modelName=%E6%9C%97%E9%80%B8+2014%E6%AC%BE+1.4TSI+DSG+%E8%93%9D%E9%A9%B1%E7%89%88&modelId2=29355 
     94 
     95请求参数 
     96modelId和modelName改成可选参数,其他不变 
     97 
     98提交方式:GET 
     99是否需要登录:否 
     100返回格式:html  
     101缓存方式:无 
     102缓存时间:无 
     103返回结果: 
     104html页面, 
     105需求说明参考:http://rdtrac.pc.com.cn/mobile/pototype/khd/v4.3.0/v3/, 
     106增加车型列表,列表数据可点,数据待定 
     107}}} 
     108 
     109=== 2.4 [=#point204 经销商在售车系页面]=== 
     110{{{ 
     111 
     112接口URL:todo 
     113 
     114请求参数 
     115serialId  // 车系id 
     116dealerId // 经销商id 
     117 
     118 
     119提交方式:GET 
     120是否需要登录:否 
     121返回格式:json  
     122缓存方式:无 
     123缓存时间:无 
     124设计稿:todo 
     125返回结果: 
     126{ 
     127    "serialId":123, 
     128    "serialName":"", 
     129    "dealerId":123, 
     130    "dealerName":"经销商名字", 
     131    "priceRange":"", 
     132    "image":"http://xxxx.png", 
     133    "models":[ 
     134        { 
     135            "category":"1.6L",    //分类 
     136            "modelsInCategory":[   // 分类里的车型 
     137                { 
     138                    "modelId":123, 
     139                    "modelName":"车型名", 
     140                    "image":"http://xxxx.jpg",   // 车型缩略图,尺寸350x260 
     141                    "nowPrice":"12.12", 
     142                    "discount":"12" 
     143                } 
     144... 
     145            ] 
     146        } 
     147... 
     148 
     149    ] 
     150} 
     151 
     152}}}