From 29f5825e22f8ed6cc2019511ad75a4939bafb6a8 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期六, 06 五月 2023 16:00:35 +0800 Subject: [PATCH] 用户token 过滤链判断限制 --- safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/LoginController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/LoginController.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/LoginController.java index c7b3ca3..1abbf63 100644 --- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/LoginController.java +++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/LoginController.java @@ -34,6 +34,6 @@ @RequestMapping("/menu") public ResultVO<List<MenuRPCRespDTO>> getMenu(Authentication authentication, Long projectId){ ContextCacheUser currentUser = (ContextCacheUser) authentication.getPrincipal(); - return accountAuthService.getMenu(currentUser.getUid(), projectId); + return accountAuthService.getMenu(currentUser, projectId); } } -- Gitblit v1.9.2