Changes between Version 1 and Version 2 of pcauto_drive_2.2.0/interface
- Timestamp:
- 09/10/2015 04:01:48 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pcauto_drive_2.2.0/interface
v1 v2 65 65 ---------- 66 66 67 == 2.考场 == 68 ---------- 69 70 71 === 2.1考场城市列表 === 72 '''(mrobot已完成,请连开发机进行测试)'''[[BR]] 73 >mrobot地址: http://mrobot.pcauto.com.cn/xsp/x/xueche.pcauto.com.cn/appapi/1.0/examArea/listExamArea.do [[BR]] 74 学车后台开发环境:http://dev38.pcauto.com.cn:8003/appapi/1.0/examArea/listExamArea.do [[BR]] 75 学车后台线上环境:http://xueche.pcauto.com.cn/appapi/1.0/examArea/listExamArea.do [[BR]] 76 77 **说明** 78 79 > 获取已知考场的城市列表 67 == 1.2学分任务列表 == 68 69 >mrobot地址: [[BR]] 70 学车后台开发环境: [[BR]] 71 学车后台线上环境: [[BR]] 72 73 **说明** 74 75 > 获取登录与未登录状态下的学分任务列表,任务列表顺序固定,上到下排序分别是:精华帖、模拟考试首次合格、模拟考试第二次合格、模拟考试第三次合格、模拟考试首次满分、首次分享APP给朋友; 80 76 81 77 **缓存时间** … … 89 85 **是否登录** 90 86 91 > 否87 > 92 88 93 89 **数据来源** … … 98 94 99 95 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 96 ||= Cookie =||= 用户登录cookie =|| string ||= =||= 是 =||= 登录用户cookie,放在请求头中 =|| 100 97 101 98 **返回** … … 104 101 { 105 102 "code": 0, 103 "message": "操作成功", 104 "score":5000, 105 "tips":"做任务赢学分,可兑换苹果9哦!点此登录", 106 106 "data": [ 107 107 { 108 "cityId": 440100, 109 "cityName": "广东" 108 "taskId": 440100, 109 "taskType": 0 110 "taskTimes": 2 111 "taskImage": "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg", 112 "taskName": "分享APP给朋友", 113 "taskDesc": "被评为精华帖可每次可获得20学分,获取机会无限次。", 114 "taskScore": 10, 110 115 } 111 ], 112 "message": "操作成功", 113 "version": "v1.0(latest)" 116 ] 114 117 } 115 118 }}} 116 119 **返回参数说明** 117 ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| 118 ||= cityId =||= 城市id =||=cityName=||=城市名称=|| 120 ||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 121 ||= code =||= 接口返回状态码:0成功,非0异常 =||= message =||=接口返回描述信息=|| 122 ||= score =||= 登录用户学分,未登录返回“” =||= tips =||=未登录状态下的提示信息,已登录返回“”=|| 123 ||= taskId =||= 任务id =||= taskType =||=登录下返回各任务状态:0未完成,1已完成,2可多次完成的任务,未登录返回“”=|| 124 ||= taskTimes =||= 已完成的任务次数,针对可多次完成的任务 =||= taskImage =||=任务缩略图=|| 125 ||= taskName =||= 任务名称 =||= taskDesc =||=任务描述=|| 126 ||= taskScore =||= 完成任务可获得的学分 =|| 119 127 120 128
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)