From 8a28a5893d81c228874b4637621354010c4bcfc3 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 3 Jul 2024 16:58:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=80=83=E8=AF=95=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/web/controller/exam/UserExamController.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserExamController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserExamController.java index aeff25e..03aec79 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserExamController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserExamController.java @@ -8,7 +8,9 @@ import com.ruoyi.system.domain.userexam.dto.response.UserExamRespDTO; import com.ruoyi.web.controller.manager.UserExamManager; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; @@ -34,6 +36,15 @@ public class UserExamController extends BaseController { private UserExamManager userExamManager; + private String prefix = "system/elExam/userExam"; + + @ApiOperation("考试详情") + @GetMapping() + public String userExam() { + return prefix + "/userExam"; + } + + @ApiOperation("考试详情") @PostMapping("/list") @ResponseBody