diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java index d1939ed..4f5abf4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java @@ -53,7 +53,7 @@ public class QuController extends BaseController { @ApiOperation("试题") - //@RequiresPermissions("system:qu:list") + @RequiresPermissions("system:qu:list") @PostMapping("/list") @ResponseBody public TableDataInfo list(QuQueryReqDTO qu) { @@ -73,7 +73,7 @@ public class QuController extends BaseController { @ApiOperation("新增") - //@RequiresPermissions("system:qu:add") + @RequiresPermissions("system:qu:add") @Log(title = "试题", businessType = BusinessType.INSERT) @PostMapping("/add") @ResponseBody @@ -92,7 +92,7 @@ public class QuController extends BaseController { } @ApiOperation("试题修改") - //@RequiresPermissions("system:qu:edit") + @RequiresPermissions("system:qu:edit") @Log(title = "试题", businessType = BusinessType.UPDATE) @PostMapping("/edit") @ResponseBody @@ -102,7 +102,7 @@ public class QuController extends BaseController { @ApiOperation("删除") - //@RequiresPermissions("system:qu:remove") + @RequiresPermissions("system:qu:remove") @Log(title = "题库", businessType = BusinessType.DELETE) @PostMapping("/remove") @ResponseBody diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html new file mode 100644 index 0000000..9491996 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html @@ -0,0 +1,97 @@ + + +
+