|
@@ -111,7 +111,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
.antMatchers("/swagger-resources/**").anonymous()
|
|
|
.antMatchers("/webjars/**").anonymous()
|
|
|
.antMatchers("/*/api-docs").anonymous()
|
|
|
- .antMatchers("/api/**").anonymous()
|
|
|
+// .antMatchers("/api/**").anonymous()
|
|
|
.antMatchers("/druid/**").anonymous()
|
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
|
.anyRequest().authenticated()
|