Skip to content

Commit

Permalink
fix(资源服务器): 全局异常处理器扔出403 国际化处理
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx committed Jul 15, 2024
1 parent 72072a7 commit 4243319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public R handleAccessDeniedException(AccessDeniedException e) {
String msg = SpringSecurityMessageSource.getAccessor()
.getMessage("AbstractAccessDecisionManager.accessDenied", e.getMessage());
log.warn("拒绝授权异常信息 ex={}", msg);
return R.failed(e.getLocalizedMessage());
return R.failed(msg);
}

/**
Expand Down

0 comments on commit 4243319

Please sign in to comment.