|
@@ -30,7 +30,8 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
.permitAll()
|
|
|
.and()
|
|
|
.authorizeRequests()
|
|
|
- .antMatchers("/wechat/*","/feign-client/**","/v2/api-docs", "/code/*","/payment/callback","/admin/login","/open/**")
|
|
|
+ .antMatchers("/wechat/*","/feign-client/**","/v2/api-docs", "/code/*","/payment/callback","/admin/login","/doc.html",
|
|
|
+ "/open/**","/swagger-resources/**", "/webjars/**", "/swagger-ui.html")
|
|
|
.permitAll().anyRequest().authenticated().and().httpBasic();
|
|
|
}
|
|
|
|