From 35efe5ba67712e6f850759ccfca9c5b4c0ed31c7 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: Wed, 21 Sep 2022 14:39:29 +0800
Subject: [PATCH] 增加开发环境配置
---
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