Skip to content

Commit

Permalink
feat: 登录时返回个人信息
Browse files Browse the repository at this point in the history
  • Loading branch information
lichong-a committed Oct 13, 2024
1 parent 11a5883 commit 4316e60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}

/**
Expand Down

0 comments on commit 4316e60

Please sign in to comment.