|
@@ -9,7 +9,10 @@ import cn.com.qmth.examcloud.web.support.ControllerSupport;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -21,73 +24,73 @@ import java.util.List;
|
|
|
public class ExamProcessController extends ControllerSupport {
|
|
|
|
|
|
@ApiOperation(value = "获取在线考试待考列表")
|
|
|
- @GetMapping("/queryExamList")
|
|
|
+ @PostMapping("/queryExamList")
|
|
|
public List<OnHandExamInfo> queryExamList() {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取在线考试已结束列表")
|
|
|
- @GetMapping("/queryExamEndList")
|
|
|
+ @PostMapping("/queryExamEndList")
|
|
|
public List<OnHandExamInfo> queryExamEndList() {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取在线作业待考列表")
|
|
|
- @GetMapping("/queryHomeworkList")
|
|
|
+ @PostMapping("/queryHomeworkList")
|
|
|
public List<OnHandExamInfo> queryHomeworkList() {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "练习课程列表")
|
|
|
- @GetMapping("/queryPracticeCourseList")
|
|
|
+ @PostMapping("/queryPracticeCourseList")
|
|
|
public List<PracticeCourseInfo> queryPracticeCourseList(@RequestParam Long examId) {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "课程练习记录详情")
|
|
|
- @GetMapping("/queryPracticeRecordList")
|
|
|
+ @PostMapping("/queryPracticeRecordList")
|
|
|
public List<PracticeRecordInfo> queryPracticeRecordList(@RequestParam Long examStudentId) {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "单次练习答题情况统计")
|
|
|
- @GetMapping("/getPracticeDetailInfo")
|
|
|
+ @PostMapping("/getPracticeDetailInfo")
|
|
|
public PracticeDetailInfo getPracticeDetailInfo(@RequestParam Long examRecordDataId, @RequestParam(required = false) String fromCache) {
|
|
|
return new PracticeDetailInfo();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取考试记录试卷结构")
|
|
|
- @GetMapping("/getExamRecordPaperStruct")
|
|
|
+ @PostMapping("/getExamRecordPaperStruct")
|
|
|
public ExamRecordPaperStructEntity getExamRecordPaperStruct(@RequestParam Long examRecordDataId, @RequestParam(required = false) String fromCache) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取交卷之后的所有试题作答信息")
|
|
|
- @GetMapping("/getExamRecordQuestions")
|
|
|
+ @PostMapping("/getExamRecordQuestions")
|
|
|
public ExamRecordQuestionsEntity getExamRecordQuestions(@RequestParam Long examRecordDataId, @RequestParam(required = false) String fromCache) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取当前考试记录信息")
|
|
|
- @GetMapping("/findExamRecordDataEntity")
|
|
|
+ @PostMapping("/findExamRecordDataEntity")
|
|
|
public ExamRecordDataDomain findExamRecordDataEntity(@RequestParam Long examRecordDataId, @RequestParam(required = false) String fromCache) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "根据examStudentId获取客观分信息")
|
|
|
- @GetMapping("/queryObjectiveScoreList")
|
|
|
+ @PostMapping("/queryObjectiveScoreList")
|
|
|
public List<ObjectiveScoreInfo> queryObjectiveScoreList(@RequestParam Long examStudentId) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取离线考试列表")
|
|
|
- @GetMapping("/getOfflineCourse")
|
|
|
+ @PostMapping("/getOfflineCourse")
|
|
|
public List<OfflineExamCourseInfo> getOfflineCourse() {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "离线考试:开始考试")
|
|
|
- @GetMapping("/startOfflineExam")
|
|
|
+ @PostMapping("/startOfflineExam")
|
|
|
public void startOfflineExam(@RequestParam long examStudentId) {
|
|
|
|
|
|
}
|