springboot拦截器之多个自定义拦截器Interceptor的执行顺序(五)

1结构

 

 2代码

LoginController

 

 LoginIntercepter

 

TwoIntercepter

 

 

 NewIntercepter

 

run as application

访问地址http://localhost:8080//api2/v1/account

 

 按照先注册先拦截

 

posted @ 2020-08-26 12:45  我是一只老白兔  阅读(4532)  评论(0编辑  收藏  举报