From dc31792dc1b8ad1658e49ba8fce9a1be924e6fbb Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期四, 30 十一月 2023 08:44:04 +0800
Subject: [PATCH] 理片笼测试修改

---
 springboot-vue3/src/main/java/com/example/springboot/controller/RoleMenuListController.java |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/controller/RoleMenuListController.java b/springboot-vue3/src/main/java/com/example/springboot/controller/RoleMenuListController.java
new file mode 100644
index 0000000..8c47976
--- /dev/null
+++ b/springboot-vue3/src/main/java/com/example/springboot/controller/RoleMenuListController.java
@@ -0,0 +1,29 @@
+package com.example.springboot.controller;
+
+import com.example.springboot.entity.vo.Result;
+import com.example.springboot.entity.vo.RoleMenuListVo;
+import com.example.springboot.service.RoleMenuListService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.shiro.authz.annotation.RequiresRoles;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@Slf4j
+@Api(tags = "瑙掕壊鍜岃彍鍗曞叧绯�")
+@RequestMapping("/api/roleMenuList")
+public class RoleMenuListController {
+    @Autowired
+    private RoleMenuListService roleMenuListService;
+
+    @ApiOperation(value = "鍒嗛〉鏌ヨ瑙掕壊鍜岃彍鍗曞叧绯�")
+    @GetMapping("/selectPage")
+    @RequiresRoles({"admin"})
+    public Result selectPage(RoleMenuListVo roleMenuListVO) {
+        return Result.success(roleMenuListService.selectPage(roleMenuListVO));
+    }
+}
\ No newline at end of file

--
Gitblit v1.8.0