考试相关

This commit is contained in:
wuchunlei
2024-08-30 14:33:10 +08:00
parent 256dec40ff
commit b190a88424
3 changed files with 17 additions and 1 deletions

View File

@@ -166,13 +166,20 @@ public class ClassExamController {
return classExamService.generateExamPaper(params);
}
//提交
//提交
@RequestMapping("/submitExamPaper")
public R submitExamPaper(@RequestBody Map<String,Object> params){
Object examPaper = classExamService.submitExamPaper(params);
return R.ok().put("examPaper",examPaper);
}
//试卷详情
@RequestMapping("/getExamPaperInfo")
public R getExamPaperInfo(@RequestBody Map<String,Object> params){
Object examPaper = classExamService.getExamPaperInfo(params);
return R.ok().put("examPaper",examPaper);
}