|
@@ -161,4 +161,10 @@ public class PracticeExamRestController {
|
|
@RequestParam Long examId, @RequestParam String groupCode, @RequestParam String questionId) throws Exception {
|
|
@RequestParam Long examId, @RequestParam String groupCode, @RequestParam String questionId) throws Exception {
|
|
return questionPoolService.getQuestion(key, token, courseCode, examId, groupCode, questionId);
|
|
return questionPoolService.getQuestion(key, token, courseCode, examId, groupCode, questionId);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "获取冻结时间")
|
|
|
|
+ @RequestMapping(value = "/exam/practice/getFreezeTime", method = {RequestMethod.GET, RequestMethod.POST})
|
|
|
|
+ public Result getFreezeTime(@RequestHeader String key, @RequestHeader String token, @RequestParam Long examId) throws Exception {
|
|
|
|
+ return examAdminService.getFreezeTime(key, token, examId);
|
|
|
|
+ }
|
|
}
|
|
}
|