Changes between Version 2 and Version 3 of pcauto_4.3.0/interface
- Timestamp:
- 04/10/2014 05:44:45 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pcauto_4.3.0/interface
v2 v3 22 22 == 2.接口列表 == 23 23 24 === 2.1 [=#point201 头像以及昵称修改]===24 === 2.1 [=#point201 降价列表]=== 25 25 {{{ 26 26 修改昵称 27 接口URL: http://my.pcauto.com.cn/intf/syncNickName.jsp27 接口URL: 28 28 29 必填参数: 30 act:save 31 nickName:昵称 29 请求参数 30 areaId:地区id 31 brandId:品牌id 32 serialId:车系id 33 modelId:车型id 34 orderBy:popularity, newest, discountRange, lowestPrice;分别指按车型热度,按最新,按降价幅度,按最低价格 32 35 33 提交方式: POST34 是否需要登录: 是36 提交方式:GET 37 是否需要登录:否 35 38 返回格式:json 36 39 缓存方式:无 37 40 缓存时间:无 38 返回结果:{"code":0}表示成功, {"code":非0,"message":"提示"} 41 返回结果: 42 { 43 "discount":[ 44 { 45 "modelId":123, 46 "modelName":"宝马X1 2013款 sDrive18i 手动型", 47 "discountId":123, 48 "dealerId":123, 49 "dealerName":"榆林奥森奥迪", 50 "area":"广州白云", 51 "dealerType":"4s店", 52 "nowPrice":12.12, 53 "discount":12, 54 "image":"http://xxx.jpg", //缩略图,尺寸为270x202 55 "phone":"12345678" 56 } 39 57 40 修改头像 41 接口URL:http://upc.pcauto.com.cn/upload_head.jsp 42 43 必填参数: 44 二进制图片数据 45 46 提交方式:POST 47 是否需要登录:是 48 返回格式:json 49 缓存方式:无 50 缓存时间:无 51 返回结果: 成功:{retCode: 0} 失败:{retCode: xxx} 58 .... 59 ] 60 } 52 61 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)