|
@@ -32,7 +32,6 @@ public class PracticeExamRestController {
|
|
@ApiOperation(value = "获取某考生的“考试批次”列表接口")
|
|
@ApiOperation(value = "获取某考生的“考试批次”列表接口")
|
|
@RequestMapping(value = "/exam/practice/list", method = {RequestMethod.GET, RequestMethod.POST})
|
|
@RequestMapping(value = "/exam/practice/list", method = {RequestMethod.GET, RequestMethod.POST})
|
|
public Result getPracticeExamList(@RequestHeader String key, @RequestHeader String token, @RequestParam String studentId) throws Exception {
|
|
public Result getPracticeExamList(@RequestHeader String key, @RequestHeader String token, @RequestParam String studentId) throws Exception {
|
|
- //todo format result
|
|
|
|
return examAdminService.getPracticeExamList(key, token, studentId);
|
|
return examAdminService.getPracticeExamList(key, token, studentId);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -63,7 +62,6 @@ public class PracticeExamRestController {
|
|
@ApiOperation(value = "获取当前练习的考试基本信息接口")
|
|
@ApiOperation(value = "获取当前练习的考试基本信息接口")
|
|
@RequestMapping(value = "/exam/info/{examId}", method = {RequestMethod.GET, RequestMethod.POST})
|
|
@RequestMapping(value = "/exam/info/{examId}", method = {RequestMethod.GET, RequestMethod.POST})
|
|
public Result getExamInfo(@RequestHeader String key, @RequestHeader String token, @PathVariable Long examId) throws Exception {
|
|
public Result getExamInfo(@RequestHeader String key, @RequestHeader String token, @PathVariable Long examId) throws Exception {
|
|
- //todo format result
|
|
|
|
return examAdminService.getExamInfo(key, token, examId);
|
|
return examAdminService.getExamInfo(key, token, examId);
|
|
}
|
|
}
|
|
|
|
|