springBoot InterceptorRegistry

InterceptorRegistry
springBoot 拦截器

添加xxx 拦截器
addPathPatterns
(eg:.addPathPatterns("/im/api/**").addPathPatterns("/sys/api/**") 过滤im/api、sys/api)
排除
excludePathPatterns
(eg: excludePathPatterns("/upload") 排除 /upload)

猜你喜欢

转载自blog.csdn.net/qq_36567996/article/details/87535852