Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微服务新增模块controller类接口方法中免登录Token注解@IgnoreAuth不生效 #7081

Closed
Lctiv opened this issue Aug 14, 2024 · 1 comment

Comments

@Lctiv
Copy link

Lctiv commented Aug 14, 2024

版本号:

v3.7.0_all

问题描述:

微服务,通过mvn命令新增模块,在controller中一个方法添加@IgnoreAuth注解不生效,调试发现IgnoreAuthPostProcessor.java方法中
restController instanceof Advised 返回为false,所以无法加入列表中,请解惑,谢谢!

错误截图:

1.新增的controller类如下:
image
2.IgnoreAuthPostProcessor 方法判断为false :
image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

sq

EightMonth added a commit to EightMonth/jeecg-boot that referenced this issue Aug 29, 2024
zhangdaiscott added a commit that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants