文档
测试

查看试卷详情

POST
/admin/exam/paper/detail

接口描述

查看试卷详情

请求参数

参数名
类型
描述
必填
examPaperId
试卷id
必填

响应参数

参数名
类型
描述
必填
data
必填
id
试卷Id
必填
examPlanId
组卷计划Id
必填
testTime
考试时长
必填
examPlanName
组卷计划名称
必填
totalScore
总分
必填
passScore
及格分
必填
type
组卷方式 手动组卷true,智能组卷false
必填
difficulty
int
难度 1.简单,2.中等,3.困难
必填
name
试卷名称
必填
version
试卷版本
必填
questionsList
试题列表
必填
id
试题id
必填
questionNo
试题编号
必填
difficulty
int
难度 1.简单,2.中等,3.困难
必填
isSubjective
bool
是否是主观题
必填
type
int
试题分类(1.单选题,2.多选题,3.判断题,4,填空题,5.简答题)
必填
questionCategoryId
int
试题类别Id
必填
optionA
string
选项A
必填
optionB
string
选项B
必填
optionC
string
选项C
必填
optionD
string
选项D
必填
content
string
题干
必填
referenceAnswer
string
答案
必填
answerAnalysis
string
答案解析
必填
scanTimes
int
被查看次数
必填
version
int
试题版本
必填

说明 / 示例

* 请求示例 `localhost:8082/admin/exam/paper/detail?examPaperId=5` * 返回示例 ``` { "data": { "id": 5, "examPlanId": 3, "testTime": 30, "examPlanName": null, "totalScore": 10.0, "passScore": 6.0, "type": true, "difficulty": 2, "name": "测试修改试卷", "parentId": 0, "version": 2, "gmtCreated": 1607319585000, "gmtModified": 1607320347000, "questionsList": [ { "id": 1, "questionNo": "2020120300000002", "difficulty": 1, "isSubjective": true, "type": 1, "questionCategoryId": 2, "optionA": "这是A选项", "optionB": "这是B选项", "optionC": "这是C选项", "optionD": "这是D选项", "content": "单选题测试题目1", "referenceAnswer": "B", "answerAnalysis": "因为答案是B,所以这题的答案是B", "scanTimes": null, "states": true, "parent": 0, "version": 1, "gmtCreated": 1606960429000, "gmtModified": 1606960429000, "isDeleted": 1 } ] }, "code": 1 } ```