如果AOP无法拦截,可参考我另一篇《springmvc+spring架构,aop无法拦截解决方案》
注解拦截方法
@annotation
例如:expression="@annotation(com.xxx.common.fitter.Token)"
注解拦截类下所有方法
@within
例如:expression="@within(com.xxx.common.fitter.Token)"
如果AOP无法拦截,可参考我另一篇《springmvc+spring架构,aop无法拦截解决方案》
注解拦截方法
@annotation
例如:expression="@annotation(com.xxx.common.fitter.Token)"
注解拦截类下所有方法
@within
例如:expression="@within(com.xxx.common.fitter.Token)"