微调
This commit is contained in:
parent
3896f6df85
commit
326e764f29
@ -89,7 +89,7 @@ public class ExamController extends JeecgController<Exam, IExamService> {
|
|||||||
public Result<String> add(@RequestBody Exam exam) {
|
public Result<String> add(@RequestBody Exam exam) {
|
||||||
examService.save(exam);
|
examService.save(exam);
|
||||||
|
|
||||||
return Result.OK("添加成功!");
|
return Result.OK(exam.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -102,7 +102,7 @@ public class PaperController extends JeecgController<Paper, IPaperService> {
|
|||||||
public Result<String> add(@RequestBody Paper paper) {
|
public Result<String> add(@RequestBody Paper paper) {
|
||||||
paperService.save(paper);
|
paperService.save(paper);
|
||||||
|
|
||||||
return Result.OK("添加成功!");
|
return Result.OK(paper.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -89,7 +89,7 @@ public class PaperQuestionController extends JeecgController<PaperQuestion, IPap
|
|||||||
public Result<String> add(@RequestBody PaperQuestion paperQuestion) {
|
public Result<String> add(@RequestBody PaperQuestion paperQuestion) {
|
||||||
paperQuestionService.save(paperQuestion);
|
paperQuestionService.save(paperQuestion);
|
||||||
|
|
||||||
return Result.OK("添加成功!");
|
return Result.OK(paperQuestion.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user