From d015cc0b48ca51a2b93b6c60c91dc352a104b1e7 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Mon, 23 Sep 2024 10:41:50 +0800
Subject: [PATCH] 删除密码加密
---
safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/LoginController.java | 3 ++-
1 files changed, 2 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..4cfdb23 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
@@ -1,5 +1,6 @@
package com.gkhy.safePlatform.accountController;
+import cn.hutool.core.codec.Base64;
import com.alibaba.fastjson.JSONObject;
import com.gkhy.safePlatform.account.rpc.apimodel.AccountAuthService;
import com.gkhy.safePlatform.account.rpc.apimodel.model.resp.MenuRPCRespDTO;
@@ -34,6 +35,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