Changes between Version 1 and Version 2 of pcauto_drive_2.4.0/interface


Ignore:
Timestamp:
12/29/2015 10:21:11 AM (10 years ago)
Author:
liguokai
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_2.4.0/interface

    v1 v2  
    66     192.168.10.199 端口为 1080 连的是dev40的开发环境(192.168.75.40)[[BR]]  
    77     '''ps:对于mrobot.pcauto.com.cn/x/前缀的接口,mrobot仅作代理,没有任何逻辑处理。''' [[BR]]  
    8      制作地址:[http://zzb.pcauto.com.cn/tools/gongdan/plan.php?id=122] [[BR]]  
    9      应用后端接口trac:[http://rdtrac.pc.com.cn/xueche/wiki/appapi/2.2] 
     8     制作地址:[] [[BR]]  
     9     应用后端接口trac:[http://rdtrac.pc.com.cn/xueche/wiki/appapi/2.4] 
    1010 
     11== 1.销量排行榜 == 
     12'''(开发已完成)'''[[BR]] 
     13>mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/info/xueChe/topArticle.xsp  [[BR]] 
     14cms线上环境:http://www.pcauto.com.cn/client/xcbd/1509/intf7851.js [[BR]] 
     15             http://www.pcauto.com.cn/client/xcbd/1511/intf8071.js [[BR]] 
     16 
     17**说明** 
     18 
     19> 科目首页今日推荐接口 
     20 
     21**缓存时间** 
     22 
     23>0 
     24 
     25**提交方式** 
     26 
     27> GET 
     28 
     29**是否登录** 
     30 
     31> 否 
     32 
     33**数据来源** 
     34 
     35>CMS 
     36 
     37**参数** 
     38 
     39||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
     40||= subjectId =||= 科目id =|| int ||=  =||= 是 =||= 科目id(科目一:22486,科目二:22505,科目三:22487,科目四:22515,拿本:22695) =|| 
     41 
     42**返回** 
     43 
     44{{{#!java 
     45{ 
     46    "status": 0, 
     47    "message": "操作成功", 
     48    "datas": [ 
     49        { 
     50            "title": "文章", 
     51            "id": "6790726", 
     52            "type": 1, 
     53            "img": "http://img0.pcauto.com.cn/pcauto/1507/14/g_6728785_1436863917510_240x160.jpg", 
     54            "url": "http://m.pcauto.com.cn/x/679/6790726.html" 
     55        }, 
     56    ], 
     57   bannerData: [ 
     58        { 
     59            "title": "教练在线问答回顾", 
     60            "url: "http://bbs.pcauto.com.cn/topic-8771174.html", 
     61            "imagePath": "http://img0.pcauto.com.cn/pcauto/client/xcbd/recommend/1511/00.jpg", 
     62            "type": "2", 
     63            "id": "8771174" 
     64         } 
     65    ] 
     66} 
     67}}} 
     68**返回参数说明** 
     69||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
     70||= status =||= 接口返回状态码:0成功,非0异常 =||= message =||=接口返回描述信息=|| 
     71||= id =||= 文章id,帖子id =||= type =||= 跳转类型:1文章页,2话题详情页,3专题页面,4游戏页面,5每日抽奖,6专家在线 =|| 
     72||= tag =||= 只有第一位出,标签 =||= title =||= 标题 =||