|
@@ -18,7 +18,7 @@ import java.util.List;
|
|
|
public class ExamProcessController extends ControllerSupport {
|
|
|
|
|
|
@ApiOperation(value = "开始考试")
|
|
|
- @GetMapping("/startExam")
|
|
|
+ @PostMapping("/startExam")
|
|
|
public StartExamInfo startExam(@RequestParam Long examStudentId) {
|
|
|
return new StartExamInfo();
|
|
|
}
|
|
@@ -30,43 +30,43 @@ public class ExamProcessController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "断点续考:检查正在进行中的考试")
|
|
|
- @GetMapping("/checkExamInProgress")
|
|
|
+ @PostMapping("/checkExamInProgress")
|
|
|
public ExamProcessResultInfo checkExamInProgress() {
|
|
|
return new ExamProcessResultInfo();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "考试心跳")
|
|
|
- @GetMapping("/examHeartbeat")
|
|
|
+ @PostMapping("/examHeartbeat")
|
|
|
public Long examHeartbeat(HttpServletRequest request) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "结束考试:交卷")
|
|
|
- @GetMapping("/endExam")
|
|
|
+ @PostMapping("/endExam")
|
|
|
public void endExam(HttpServletRequest request) {
|
|
|
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取考试记录信息")
|
|
|
- @GetMapping("/getEndExamInfo")
|
|
|
+ @PostMapping("/getEndExamInfo")
|
|
|
public EndExamInfo getEndExamInfo(@RequestParam Long examRecordDataId) {
|
|
|
return new EndExamInfo();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取考试记录试卷结构")
|
|
|
- @GetMapping("/getExamRecordPaperStruct")
|
|
|
+ @PostMapping("/getExamRecordPaperStruct")
|
|
|
public ExamRecordPaperStruct getExamRecordPaperStruct(@RequestParam Long examRecordDataId) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "考试过程中-获取试题列表")
|
|
|
- @GetMapping("/findExamQuestionList")
|
|
|
+ @PostMapping("/findExamQuestionList")
|
|
|
public List<ExamQuestion> findExamQuestionList() {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "考试过程中-获取试题内容")
|
|
|
- @GetMapping("/getQuestionContent")
|
|
|
+ @PostMapping("/getQuestionContent")
|
|
|
public String getQuestionContent(@RequestParam String questionId) {
|
|
|
return null;
|
|
|
}
|
|
@@ -84,7 +84,7 @@ public class ExamProcessController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取课程名称")
|
|
|
- @GetMapping("/courseName/{id}")
|
|
|
+ @PostMapping("/courseName/{id}")
|
|
|
public String courseName(@PathVariable Long id) {
|
|
|
return null;
|
|
|
}
|