文档
测试

上传问答板块题目(new)

POST
teacher/action/saveQAQuesitons

请求参数

参数名
类型
描述
必填
id
String
活动id
必填
ifMultipleCommits
String
// 是否可以多次提交 0:不可以 1:可以
必填
ifLookAnswer
String
// 是否可以查看答案对错 0:不可以 1:可以
必填
ifReturnExplore
String
学生回答错误是否需要返回探索板块 0:不可以 1:可以
必填
topic
list
看说明
必填

响应参数

参数名
类型
描述
必填
code
必填
msg
必填

说明 / 示例

topic: [{ order: '', // 题目顺序 第几题 type: '', // 题目类型 1填空,2单选,3多选,4判断,5陈述 questionName: '', // 题目名称 opt: [{value: ''}], // 选项值 answer: '', // 单选答案 multipleChoice: [], // 多选答案 judgeAnswer: '', // 判断题答案 0 对 1 错 fillAnswer: '' // 填空题答案 }] { "id": "222322322322", "ifMultipleCommits": "0", "ifLookAnswer": "0", "ifReturnExplore": "0", "topic": [ { "order": 1, "type": 1, "questionName": "填空", "opt": [ { "value": "" } ], "answer": "", "multipleChoice": [], "judgeAnswer": "", "fillAnswer": "1" }, { "order": 2, "type": 2, "questionName": "单选", "opt": [ { "value": "1" }, { "value": "2" } ], "answer": "2", "multipleChoice": [], "judgeAnswer": "", "fillAnswer": "" }, { "order": 3, "type": 3, "questionName": "多选", "opt": [ { "value": "1" }, { "value": "3" }, { "value": "4" } ], "answer": "", "multipleChoice": [ "3", "1", "4" ], "judgeAnswer": "", "fillAnswer": "" }, { "order": 4, "type": 4, "questionName": "判断", "opt": [], "answer": "", "multipleChoice": [], "judgeAnswer": "0", "fillAnswer": "" }, { "order": 5, "type": 5, "questionName": "陈述", "opt": [], "answer": "", "multipleChoice": [], "judgeAnswer": "", "fillAnswer": "" } ] }