提示信息的修改

This commit is contained in:
2025-11-09 21:03:02 +08:00
parent 520f72a023
commit 2eabcaedc4

View File

@@ -29,7 +29,7 @@ public class AuthenticationEntryPointImpl implements AuthenticationEntryPoint, S
{
int code = HttpStatus.UNAUTHORIZED;
//认证失败,无法访问系统资源
String msg = StringUtils.format("Request access{}authentication failed, unable to access system resources", request.getRequestURI());
String msg = "Authentication failed,please log in";
ServletUtils.renderString(response, JSON.toJSONString(AjaxResult.error(code, msg)));
}
}