|
@@ -115,6 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
.antMatchers("/druid/**").anonymous()
|
|
.antMatchers("/druid/**").anonymous()
|
|
// 放行api业务
|
|
// 放行api业务
|
|
.antMatchers("/api/**").anonymous()
|
|
.antMatchers("/api/**").anonymous()
|
|
|
|
+ .antMatchers("/template/**").anonymous()
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
.anyRequest().authenticated()
|
|
.anyRequest().authenticated()
|
|
.and()
|
|
.and()
|