Changes between Version 19 and Version 20 of pcauto_drive_2.3.0/interface


Ignore:
Timestamp:
11/11/2015 02:05:28 PM (10 years ago)
Author:
dengyurong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_2.3.0/interface

    v19 v20  
    197197---------- 
    198198 
     199=== 1.5 科目首页专家在线接口 === 
     200 
     201>mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/info/xueChe/randomQuestion.xsp  [[BR]] 
     202cms线上环境:http://www.pcauto.com.cn/client/xcbd/1511/intf8091.js [[BR]] 
     203 
     204**说明** 
     205 
     206> 科目首页专家在线接口 
     207 
     208**缓存时间** 
     209 
     210>0 
     211 
     212**提交方式** 
     213 
     214> GET 
     215 
     216**是否登录** 
     217 
     218> 否 
     219 
     220**数据来源** 
     221 
     222>CMS 
     223 
     224**参数** 
     225 
     226||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
     227||= subjectId =||= 科目id =|| int ||=  =||= 是 =||= 科目id(科目一:22486,科目二:22505,科目三:22487,科目四:22515) =|| 
     228 
     229**返回** 
     230 
     231{{{#!java 
     232{ 
     233    "status": 0, 
     234    "message": "操作成功", 
     235    "questionList": [ 
     236        { 
     237            "id": 440100, 
     238            "title": "离合器半联动怎么找?" 
     239        }, 
     240        { 
     241            "id": 434500, 
     242            "title": "科目三怎么踩离合才是正确的?" 
     243        } 
     244    ], 
     245    "questionSpecial": [ 
     246        { 
     247             "specialUrl": "http://m.pcauto.com.cn/auto/k/online/eo/a272/", 
     248             "specialTitle": "教练在线解答" 
     249         } 
     250    ] 
     251} 
     252}}} 
     253**返回参数说明** 
     254||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
     255||= status =||= 接口返回状态码:0成功,非0异常 =||= message =||=接口返回描述信息=|| 
     256||= id =||= 帖子id =||= title =||= 问答标题 =|| 
     257||= specialUrl =||= 专家在线链接 =||= specialTitle =||= 专家在线标题 =|| 
     258 
     259 
     260---------- 
     261 
    199262== 2.学车后台 == 
    200263----------