From 49429bad1036c81c056faeadfa009c53ba777fad Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 07 五月 2024 18:02:11 +0800 Subject: [PATCH] feat:反馈保存、展示、处理、删除 --- src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java b/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java index 37f7df0..969ae02 100644 --- a/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java +++ b/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java @@ -9,6 +9,7 @@ import com.mindskip.xzs.utility.DateTimeUtil; import com.mindskip.xzs.utility.PageInfoHelper; import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM; +import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVO; import com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageResponseVM; import com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageVM; import com.github.pagehelper.PageInfo; @@ -35,9 +36,8 @@ @RequestMapping(value = "/select/{id}", method = RequestMethod.POST) - public RestResponse<ExamPaperEditRequestVM> select(@PathVariable Integer id) { - ExamPaperEditRequestVM vm = examPaperService.examPaperToVM(id); - return RestResponse.ok(vm); + public RestResponse<ExamPaperEditRequestVO> select(@PathVariable Integer id) { + return RestResponse.ok(examPaperService.examPaperToVM(id)); } -- Gitblit v1.8.0