@apis1990
2016-08-24T03:46:19.000000Z
字数 1271
阅读 1586
在线题库
测试地址:http://36.33.24.119:8081/api/get_random_parctices.php
| 参数 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| license | int | 必选 | 牌照类型: C1, A2 |
| subject | int | 必选 | 科目类型: 1, 4 |
{"code": 200,"data": [{"id": "816","question": "下雨后路面湿滑,车辆行驶中紧急制动时,容易导致什么?","an1": "引起发动机熄火","an2": "不被其他车辆驾驶人发现","an3": "因视线模糊而撞车","an4": "发生侧滑、引发交通事故","answertrue": "4","imageurl": "","explain": "给大伙上个关于水的物理课:在粗糙的物体表面有能摸的着的水时,水会减小摩擦;在粗糙的物体表面有极少的(摸不到,有湿润感觉)水时,会增加物体表面的粗糙程度增大摩擦力--如:数钞票时,在手上沾上些水,数钱数的又快又准等。!!!下雨天不是数钱,别急刹了我个亲!急刹加打方向--你会成为漂移达人的!!","type": "2","chapterid": "3","SpeId": "213","ctype": "C1","stype": "1","mimetype": "","mediatype": 0},{"id": "800","question": "机动车向左转弯、向左变更车道、驶离停车地点或者掉头时,提前开启左转向灯是为了什么?","an1": "提示前车,将要向左变更行驶路线","an2": "提示后车,将要向右变更行驶路线","an3": "提示后车,将要向左变更行驶路线","an4": "提示前车,将要向右变更行驶路线","answertrue": "3","imageurl": "","explain": "变更车道或者掉头等一系列动作,都要提前3秒打转向灯。目的是为了提醒后车注意!","type": "2","chapterid": "2","SpeId": "","ctype": "C1","stype": "1","mimetype": "","mediatype": 0},...}
| 参数 | 类型 | 描述 |
|---|---|---|
| code | int | 状态码:200 --- 成功 其它 --- 异常 |
| data | array | 返回数据集 |
| - | - | - |
| id | int | 题目id |
| question | string | 题目内容 |
| an1 | string | 答案1 |
| an2 | string | 答案2 |
| an3 | string | 答案3 |
| an4 | string | 答案4 |
| answertrue | int | 正确答案 |
| imageurl | string | 题目图片 |
| explain | string | 答案解析 |
| type | int | 题目类型:1判断题 2单选题 3多选题 |
| SpeId | int | 特殊id |
| ctype | string | 驾照类型:C1 A1 A2 D |
| stype | string | 科目:1/4 |
| mimetype | string | image/png , image/jpg |
| mediatype | int | 0 无 1 图片 2 视频或音频 |
