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