This commit is contained in:
Lqc 2025-08-29 16:26:47 +08:00
parent 3896f6df85
commit 326e764f29
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ public class ExamController extends JeecgController<Exam, IExamService> {
public Result<String> add(@RequestBody Exam exam) {
examService.save(exam);
return Result.OK("添加成功!");
return Result.OK(exam.getId());
}
/**

View File

@ -102,7 +102,7 @@ public class PaperController extends JeecgController<Paper, IPaperService> {
public Result<String> add(@RequestBody Paper paper) {
paperService.save(paper);
return Result.OK("添加成功!");
return Result.OK(paper.getId());
}
/**

View File

@ -89,7 +89,7 @@ public class PaperQuestionController extends JeecgController<PaperQuestion, IPap
public Result<String> add(@RequestBody PaperQuestion paperQuestion) {
paperQuestionService.save(paperQuestion);
return Result.OK("添加成功!");
return Result.OK(paperQuestion.getId());
}
/**