spring boot.2x 集成swagger 加入拦截器后 swagger不能访问 忽略掉 swagger-resources下面的请求 以及忽略掉 v2下面的请求即可 转自:https://blog.csdn.net/hanwenyi520/article/details/79892109