Changes between Version 5 and Version 6 of pcauto_BuyAuto_1.3.0


Ignore:
Timestamp:
06/01/2015 05:46:32 PM (11 years ago)
Author:
caozhaoyuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_BuyAuto_1.3.0

    v5 v6  
    133133}}} 
    134134 
    135 3. 发起投票 
    136 mrobot请求url:http://mrobot.pcauto.com.cn/buy/price/vote/initiateVote 
    137 请求方式:POST 
    138 返回格式:JSON 
    139 请求参数格式:  
    140 key:param 
    141 value:{ 
    142 “deviceId”:”设备唯一标识”,    ---------   用于标识当期APP用户所在设备 
    143 “text”:”帮我选车吧”,    ---------   投票文案 
    144 “validTime”:3,  -----------------   有效期,一周填7,一个月填30,不限填0 
    145 “cars”:[ 
    146 { 
    147 “serialId”:4313,      -------------      车系id 
    148 “areaId”:12,       ------------ 投票发起人所在区域 
    149 “name”:”奥迪A4L”,     ----------   系名 
    150 “image”:”图片url”,      ------------ 车系图片url 
    151 “price”:”¥27~30万”      ------------ 价格区间 
    152 }, 
    153 `````` 限制2~6款车型 
    154 ] 
    155 } 
    156  
    157 返回结果: 
    158 { 
    159 “code”:200, 
    160 “msg”:”投票成功” 
    161 } 
    162  
    163 Return code: 
    164 200- 投票成功 
    165 405- 需要使用POST请求 
    166 400- 请求参数有误 
    167 500 - 系统错误