- 博客(1)
- 收藏
- 关注
原创 自定义 Annotation 与 Interceptor 的结合使用
自定义Annotation and Interceptor 此文章主要分享自定义的annotation与interceptor的结合使用 我们可以将其分为2个步骤: 1、 书写自定义的annotation 2、 自定义业务拦截器(interceptor) 一、 自定义的annotation,话不多说,直接看图: 以下是自定义的注解,建议放在annotation包下,类名尽量和需要实现的业务功能挂钩 至此,一个自定义的注解就完成了,下面我们看一下和interceptor的结合使用 Inter
2021-08-21 10:57:12
514
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅