Changes between Version 4 and Version 5 of pcauto_drive_2.2.0/interface


Ignore:
Timestamp:
09/10/2015 05:25:09 PM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_2.2.0/interface

    v4 v5  
    125125||= taskName =||= 任务名称 =||= taskDesc =||=任务描述=|| 
    126126||= taskScore =||= 完成任务可获得的学分 =|| 
     127 
     128---------- 
     129 
     130== 1.3学分商场 == 
     131 
     132>mrobot地址:  [[BR]] 
     133学车后台开发环境: [[BR]] 
     134学车后台线上环境: [[BR]] 
     135 
     136**说明** 
     137 
     138> 学分商场列表 
     139 
     140**缓存时间** 
     141 
     142>0 
     143 
     144**提交方式** 
     145 
     146> GET 
     147 
     148**是否登录** 
     149 
     150> 登录与未登录都可请求 
     151 
     152**数据来源** 
     153 
     154>学车后台 
     155 
     156**参数** 
     157 
     158||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
     159||= Cookie =||= 用户登录cookie =|| string ||=  =||= 是 =||= 登录用户cookie,放在请求头中 =|| 
     160 
     161**返回** 
     162 
     163{{{#!java 
     164{ 
     165    "code": 0, 
     166    "message": "操作成功", 
     167    "score":5000, 
     168    "tips":"做任务赢学分,可兑换苹果9哦!点此登录", 
     169    "gameTips":"今天又苹果6", 
     170    "recordsTips":"查看囊中物", 
     171    "pageCount": 2, 
     172    "pageNo": 1,  
     173    "pageSize": 20, 
     174    "data": [ 
     175        { 
     176            "resId": 440100, 
     177            "resImage": "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg", 
     178            "resName": "分享APP给朋友", 
     179            "resDesc": "9000分", 
     180            "resStatus": 0 
     181        }, 
     182    ] 
     183} 
     184}}} 
     185**返回参数说明** 
     186||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
     187||= code =||= 接口返回状态码:0成功,非0异常 =||= message =||=接口返回描述信息=|| 
     188||= score =||= 登录用户学分,未登录返回“” =||= tips =||=未登录状态下的提示信息,已登录返回“”=|| 
     189||= gameTips =||= 每日抽奖提示文案 =||= recordsTips =||=兑换记录提示文案=|| 
     190||= pageCount =||= 总页数 =||= pageNo =||=当前页码=|| 
     191||= pageSize =||= 每页条数 =||= resId =||=商品id=|| 
     192||= resImage =||= 商品缩略图 =||= resName =||=商品名=|| 
     193||= resDesc =||= 兑换商品的状态描述 =||= resStatus =||=商品兑换状态:0需要XXX学分,1正在补货,2已兑换=|| 
     194 
     195---------- 
     196 
     197 
     198 
     199