文档
测试

保存试卷

POST
/study/paper/save

请求参数

参数名
类型
描述
必填
subjectList
array
数据列表(题目列表)
必填
difficulty
int
示例:1(难易程度)
必填
score
int
示例:10(分数)
必填
times
int
示例:3(答题分钟数)
必填
answer
string
示例:1(正确答案)
必填
optionList
array
数据列表(简答题没有选项)
必填
lastName
string
示例:(后置文字)
必填
preName
string
示例:(填空题时有,preName和optionName一样的)
必填
typeId
int
示例:1(题目类型)
必填
id
int
示例:1(选项ID)
必填
optionName
string
示例:a.唐朝(选项名称)
必填
order
int
示例:1(选项排序)
必填
optionType
String
选项状态:1:新增 2:编辑 3:删除
必填
typeId
int
示例:1(题目类型)
必填
id
int
示例:1(题目ID)
必填
order
int
示例:1(题目排序)
必填
subjectName
string
示例:1.李世民是那个朝代的?(题目名称)
必填
subjectType
String
操作状态:1:新增 2:编辑 3:删除
必填
paperName
string
示例:语文试卷1(试卷名称)
必填
id
int
示例:1(试卷ID)
必填
endTime
string
示例:2022-09-26(截止时间)
必填
courseId
int
示例:1(课程ID)
必填
officeId
String
平台ID
必填
createBy
String
用户编码
必填