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
当我在方法上使用多个@Filter过滤器 过滤器的功能失效了 #540
Comments
本地测试未复现此问题,请提供项目依赖配置等详细信息 |
https://gitee.com/nosoull/graduation-design-from-nyl.git 这是我代码的gitee地址 在src/main/java/com/tuanzijx/simbot/graduationdesignfromnyl/listeners/OnTheFunctionListener 这个类中的第62行 在这个方法上我使用了@filter(value = "机器人",targets = @Filter.Targets(authors = "862197510"),matchType = MatchType.TEXT_EQUALS) 这个注解 ,这个注解是我找其他人帮忙找bug时,零时填上的去然后push到gitee上的,所以看上去会与下面方法上的注解冲突。 我gitee上显示的这个项目 使用的版本时3.0.0.bate3,但是我在本地上已经使用了最新的版本经行尝试,依旧是会出现我描述的问题 |
你的项目有访问权限。提供 |
|
经排查这似乎是Spring中的 临时解决办法:使用 |
感谢您的帮助 |
根据答复,这是Spring的bug, 但是有解决方案,下个版本会修复。 |
版本号
3.0.0-M5
附加版本
No response
问题描述
这里我使用了两个过滤器
这是我的输入
在控制台可以看到 我输入的"1" 没有过滤并且进入了这个方法
当我注释掉@filter 只有一个过滤器在方法上面的时候
使用qq发送 11
控制台没有出现任何消息 似乎成功的过滤
复现方式
复现方法在问题的描述中
相关日志
No response
其他补充
No response
The text was updated successfully, but these errors were encountered: