|
@@ -49,6 +49,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
.authorizeRequests()
|
|
.authorizeRequests()
|
|
|
.antMatchers("/**/*swagger*/**").permitAll()
|
|
.antMatchers("/**/*swagger*/**").permitAll()
|
|
|
.antMatchers("/**/*api-docs*/**").permitAll()
|
|
.antMatchers("/**/*api-docs*/**").permitAll()
|
|
|
|
|
+ .antMatchers("/**/hook").permitAll()
|
|
|
.and()
|
|
.and()
|
|
|
.authorizeRequests()
|
|
.authorizeRequests()
|
|
|
//跨域的Options请求进行放行
|
|
//跨域的Options请求进行放行
|