From 7c65d1c4d577a369bfd5f79dd488c07c32b9eb6e Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 3 Jul 2024 14:44:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E8=80=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/web/controller/exam/OnlineExamController.java | 2 +- .../templates/system/elExam/onlineExam/onlineExam.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/OnlineExamController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/OnlineExamController.java index 6b62c0b..41982ce 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/OnlineExamController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/OnlineExamController.java @@ -55,7 +55,7 @@ public class OnlineExamController extends BaseController { @ApiOperation("去考试") @GetMapping("/toExam/{id}") - public String add(@PathVariable("id") String id, ModelMap mmap) { + public String toExam(@PathVariable("id") String id, ModelMap mmap) { mmap.put("exam",examManager.view(id)); return prefix + "/toExam"; } diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html b/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html index 73d58e8..3a60ed7 100644 --- a/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html +++ b/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html @@ -44,7 +44,7 @@ var options = { uniqueId: "id", url: prefix + "/list", - createUrl: prefix + "/add", + updateUrl: prefix + "/toExam/{id}", modalName: "在线考试", columns: [{ checkbox: false