| Version 2 (modified by liguokai, 10 years ago) (diff) |
|---|
Table of Contents
学车2.4.0接口文档 (已完成接口开发机可测)
mrobot代理环境说明:
192.168.10.198 端口为 1080 连的是QA测试环境(192.168.74.80)
192.168.10.199 端口为 1080 连的是dev40的开发环境(192.168.75.40)
ps:对于mrobot.pcauto.com.cn/x/前缀的接口,mrobot仅作代理,没有任何逻辑处理。
制作地址:[]
应用后端接口trac: http://rdtrac.pc.com.cn/xueche/wiki/appapi/2.4
1.销量排行榜
(开发已完成)
mrobot地址: http://mrobot.pcauto.com.cn/xsp/s/auto/info/xueChe/topArticle.xsp
cms线上环境: http://www.pcauto.com.cn/client/xcbd/1509/intf7851.js
说明
科目首页今日推荐接口
缓存时间
0
提交方式
GET
是否登录
否
数据来源
CMS
参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必须 | 说明 |
|---|---|---|---|---|---|
| subjectId | 科目id | int | 是 | 科目id(科目一:22486,科目二:22505,科目三:22487,科目四:22515,拿本:22695) |
返回
{
"status": 0,
"message": "操作成功",
"datas": [
{
"title": "文章",
"id": "6790726",
"type": 1,
"img": "http://img0.pcauto.com.cn/pcauto/1507/14/g_6728785_1436863917510_240x160.jpg",
"url": "http://m.pcauto.com.cn/x/679/6790726.html"
},
],
bannerData: [
{
"title": "教练在线问答回顾",
"url: "http://bbs.pcauto.com.cn/topic-8771174.html",
"imagePath": "http://img0.pcauto.com.cn/pcauto/client/xcbd/recommend/1511/00.jpg",
"type": "2",
"id": "8771174"
}
]
}
返回参数说明
| 参数名 | 参数含义 | 参数名 | 参数含义 |
|---|---|---|---|
| status | 接口返回状态码:0成功,非0异常 | message | 接口返回描述信息 |
| id | 文章id,帖子id | type | 跳转类型:1文章页,2话题详情页,3专题页面,4游戏页面,5每日抽奖,6专家在线 |
| tag | 只有第一位出,标签 | title | 标题 |
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)