From 4316e60188557f1f5360e95fba678fc6f577f1c0 Mon Sep 17 00:00:00 2001 From: lichong Date: Sun, 13 Oct 2024 22:13:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E6=97=B6=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/core/security/service/impl/JwtServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/core/src/main/java/org/funcode/portal/server/common/core/security/service/impl/JwtServiceImpl.java b/common/core/src/main/java/org/funcode/portal/server/common/core/security/service/impl/JwtServiceImpl.java index 727d751..ff37e0d 100644 --- a/common/core/src/main/java/org/funcode/portal/server/common/core/security/service/impl/JwtServiceImpl.java +++ b/common/core/src/main/java/org/funcode/portal/server/common/core/security/service/impl/JwtServiceImpl.java @@ -173,7 +173,7 @@ public void successLoginHandler(@NonNull HttpServletRequest request, applicationConfig.getSecurity().token().refreshExpiration(), TimeUnit.MINUTES); ObjectMapper mapper = new ObjectMapper(); - response.getWriter().write(mapper.writeValueAsString(ResponseResult.success())); + response.getWriter().write(mapper.writeValueAsString(ResponseResult.success(currentUser))); } /**