|
@@ -465,6 +465,14 @@ public class ExamControlController extends ControllerSupport {
|
|
|
return examControlService.switchScreen(examRecordDataId);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "获取课程信息")
|
|
|
+ @PostMapping("/getCourseInfo/{examRecordDataId}")
|
|
|
+ public CourseInfo courseInfo(@PathVariable Long examRecordDataId) {
|
|
|
+ return examRecordDataService.getCourseInfo(examRecordDataId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Deprecated
|
|
|
+ @ApiOperation(value = "获取课程名称(待废弃)")
|
|
|
@GetMapping("/courseName/{examRecordDataId}")
|
|
|
public String courseName(@PathVariable Long examRecordDataId) {
|
|
|
CourseInfo info = examRecordDataService.getCourseInfo(examRecordDataId);
|