Changes between Version 12 and Version 13 of pcauto_drive_2.2.0/interface


Ignore:
Timestamp:
09/11/2015 04:19:14 PM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_2.2.0/interface

    v12 v13  
    422422||= zipCode =||= 邮编 =||=  =||=  =|| 
    423423 
     424 
     425---------- 
     426 
     427=== 1.3.4兑换记录 === 
     428 
     429---------- 
     430 
     431==== 1.3.4.1兑换记录列表 ==== 
     432 
     433>mrobot地址:  [[BR]] 
     434学车后台开发环境: [[BR]] 
     435学车后台线上环境: [[BR]] 
     436 
     437**说明** 
     438 
     439> 提交资料,兑换商品 
     440 
     441**缓存时间** 
     442 
     443>0 
     444 
     445**提交方式** 
     446 
     447> GET 
     448 
     449**是否登录** 
     450 
     451> 是 
     452 
     453**数据来源** 
     454 
     455>学车后台 
     456 
     457**参数** 
     458 
     459||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
     460||= Cookie =||= 用户登录cookie =|| string ||=  =||= 是 =||= 登录用户cookie,放在请求头中 =|| 
     461 
     462 
     463**返回** 
     464 
     465{{{#!java 
     466{ 
     467    "code": 0, 
     468    "message": "操作成功", 
     469    "pageCount": 2, 
     470    "pageNo": 1,  
     471    "pageSize": 20, 
     472    "data": [ 
     473        { 
     474            "resId": 440100, 
     475            "resImage": "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg", 
     476            "resName": "商品名称商品名称", 
     477            "resStatusDesc": "待发货", 
     478            "resTime": "20150830090000" 
     479        }, 
     480    ] 
     481}}} 
     482**返回参数说明** 
     483||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
     484||= code =||= 接口返回状态码:0成功,非0异常 =||= message =||= 接口返回描述信息 =|| 
     485||= pageCount =||= 总页码 =||= pageNo =||= 当前页数 =|| 
     486||= pageSize =||= 每页条数 =||= resId =||= 商品id =|| 
     487||= resImage =||= 商品缩略图 =||= resStatusDesc =||= 发货状态 =|| 
     488||= resTime =||= 兑换时间 =||=  =||=  =|| 
     489 
     490---------- 
     491 
     492==== 1.3.4.2 兑换详情 ==== 
     493 
     494>mrobot地址:  [[BR]] 
     495学车后台开发环境: [[BR]] 
     496学车后台线上环境: [[BR]] 
     497 
     498**说明** 
     499 
     500> 兑换成功返回信息 
     501 
     502**缓存时间** 
     503 
     504>0 
     505 
     506**提交方式** 
     507 
     508> GET 
     509 
     510**是否登录** 
     511 
     512> 是 
     513 
     514**数据来源** 
     515 
     516>学车后台 
     517 
     518**参数** 
     519 
     520||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
     521||= Cookie =||= 用户登录cookie =|| string ||=  =||= 是 =||= 登录用户cookie,放在请求头中 =|| 
     522||= resId =||= 商品id =|| int ||=  =||= 是 =||=  =|| 
     523 
     524 
     525**返回** 
     526 
     527{{{#!java 
     528{ 
     529    "code": 0, 
     530    "message": "操作成功", 
     531    "resId": 440100, 
     532    "resImage": "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg" 
     533    "resName":"正品iPhone6 Plus", 
     534    "resScore":10000, 
     535    "resCount":1, 
     536    "resTime": "20150830090000", 
     537    "resStatusDesc": "已发货", 
     538    "description":"申通快递:12655458445", 
     539    "name":"小明", 
     540    "phoneNum":"18815234562", 
     541    "address":"广东省广州市天河区高普路115号", 
     542    "zipCode":510000, 
     543     
     544} 
     545}}} 
     546**返回参数说明** 
     547||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
     548||= code =||= 接口返回状态码:0成功,非0异常 =||= message =||= 接口返回描述信息 =|| 
     549||= resId =||= 商品id =||= resImage =||= 商品图片 =|| 
     550||= resName =||= 商品名 =||= resScore =||= 兑换商品所消耗学分 =|| 
     551||= resCount =||= 兑换商品数 =||= resTime =||= 兑换商品提交时间 =|| 
     552||= resStatusDesc =||= 发货状态 =||= description =||= 发货说明 =|| 
     553||= name =||= 收货人姓名 =||= phoneNum =||= 收货人电话 =|| 
     554||= address =||= 收货地址 =||= zipCode =||= 邮编 =||