Skip to content

Commit

Permalink
解决已知问题
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuYuYang01 committed Feb 1, 2025
1 parent 529a3e1 commit eb083f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void before(JoinPoint joinPoint) {
// 如果 token 为 null,跳过权限校验
if (token == null) {
log.info("Token为空,跳过权限校验");
return; // 跳过权限校验
throw new CustomException("Token 不能为空");
}

// 去掉 Bearer 前缀
Expand Down

0 comments on commit eb083f4

Please sign in to comment.