文档
测试

查看试卷列表

GET
/admin/exam/paper/list

接口描述

查看试卷列表

请求参数

参数名
类型
描述
必填
name
试卷名
可选
type
组卷类型 手动组卷true,智能组卷false
可选
pageNum
String
分页信息,当前页码,(可选填)不填默认为1
可选
pageSize
String
分页信息,每页数量,(可选填)不填默认为10
可选
notNeedPage
int
如果需要获取全部数据,传入1,否则不传。用于获取下拉框数据时使用
可选

响应参数

参数名
类型
描述
必填
data
必填
total
总记录数
必填
list
必填
id
试卷id
必填
examPlanId
组卷计划id
必填
examPlanName
组卷计划名称
必填
type
组卷类型 手动组卷true,智能组卷false
必填
difficulty
int
难度 1.简单,2.中等,3.困难
必填
name
试卷名称
必填
version
试卷版本
必填
gmtModified
最新修改时间
必填
gmtCreated
创建时间
必填
questionNum
试卷包含的试题数量
必填

说明 / 示例

* 请求示例 `localhost:8082/admin/exam/paper/list` * 返回示例 ``` { "data": { "total": 73, "list": [ { "id": 86, "examPlanId": 21, "examPlanName": "单选1多选1判断1智能", "type": false, "difficulty": 1, "name": "30", "parentId": 0, "version": 1, "gmtCreated": null, "gmtModified": null, "isDeleted": null, "questionNum": 3 }, { "id": 85, "examPlanId": 21, "examPlanName": "单选1多选1判断1智能", "type": false, "difficulty": 1, "name": "29", "parentId": 0, "version": 1, "gmtCreated": null, "gmtModified": null, "isDeleted": null, "questionNum": 3 }, { "id": 84, "examPlanId": 21, "examPlanName": "单选1多选1判断1智能", "type": false, "difficulty": 1, "name": "28", "parentId": 0, "version": 1, "gmtCreated": null, "gmtModified": null, "isDeleted": null, "questionNum": 3 }, { "id": 83, "examPlanId": 21, "examPlanName": "单选1多选1判断1智能", "type": false, "difficulty": 1, "name": "27", "parentId": 0, "version": 1, "gmtCreated": null, "gmtModified": null, "isDeleted": null, "questionNum": 3 }, { "id": 82, "examPlanId": 21, "examPlanName": "单选1多选1判断1智能", "type": false, "difficulty": 1, "name": "26", "parentId": 0, "version": 1, "gmtCreated": null, "gmtModified": null, "isDeleted": null, "questionNum": 3 } ], "pageNum": 1, "pageSize": 5, "size": 5, "startRow": 1, "endRow": 5, "pages": 15, "prePage": 0, "nextPage": 2, "isFirstPage": true, "isLastPage": false, "hasPreviousPage": false, "hasNextPage": true, "navigatePages": 8, "navigatepageNums": [ 1, 2, 3, 4, 5, 6, 7, 8 ], "navigateFirstPage": 1, "navigateLastPage": 8, "lastPage": 8, "firstPage": 1 }, "code": 1 } ```