Commit fdf472a2 by yw

项目初始化

parent a387036b
...@@ -58,7 +58,9 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter { ...@@ -58,7 +58,9 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
"/doc.html", "/doc.html",
"/swagger-resources/**", "/swagger-resources/**",
"/webjars/**", "/webjars/**",
"/users/username/**").permitAll() // feign 内部调用不用授权
"/users/username/**"
).permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()
.and().csrf().disable(); .and().csrf().disable();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment