闭关修行中......
If I remember correctly, the @annotation expression will only look for annotations on methods. Have you tried customizing an annotation on the method?
The annotations on the method can implement the spring 的 HandlerMethodArgumentResolver interface. You can refer to customizing @CurrentUser to get the current logged in user
spring
HandlerMethodArgumentResolver
If I remember correctly, the @annotation expression will only look for annotations on methods. Have you tried customizing an annotation on the method?
The annotations on the method can implement the
spring
的HandlerMethodArgumentResolver
interface.You can refer to customizing @CurrentUser to get the current logged in user