|
@@ -109,7 +109,7 @@ public class SecurityConfig {
|
|
|
permitAllUrl.getUrls().forEach(url -> requests.antMatchers(url).permitAll());
|
|
|
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
|
|
requests.antMatchers("/login", "/loginByMail", "/register", "/captchaImage", "/web/tab-user/insertTabUser",
|
|
|
- "/system/notice/list", "/web/mail/*", "/web/getCatalogToken", "/singleLogin").permitAll()
|
|
|
+ "/system/notice/list", "/web/mail/*").permitAll()
|
|
|
// 静态资源,可匿名访问
|
|
|
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
|
|
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|