完成用户第一阶段的需求

This commit is contained in:
2025-08-01 08:33:03 +08:00
parent 9b6f200292
commit 7514482e33
4 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@ public class AuthenticationEntryPointImpl implements AuthenticationEntryPoint, S
public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException e)
{
int code = HttpStatus.UNAUTHORIZED;
String msg = StringUtils.format("请求访问:{},认证失败,无法访问系统资源", request.getRequestURI());
String msg = "登录信息过期,请重新登录";
try
{
response.setStatus(401);