java自定义参数注解@Target(ElementType.PARAMETER)无效?
阿神
阿神 2017-04-18 10:43:16
0
2
1147
阿神
阿神

闭关修行中......

reply all(2)
PHPzhong

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 springHandlerMethodArgumentResolver interface.
You can refer to customizing @CurrentUser to get the current logged in user

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template