@Bean public SecurityInterceptor getSecurityInterceptor() { return new SecurityInterceptor(); }还有addInterceptor.addPathPatterns("/**"); 查看完整描述