Commit 068d9b95 authored by xiaozhe.chen's avatar xiaozhe.chen

查询接口去掉鉴权

parent 31c7b6c5
...@@ -30,8 +30,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -30,8 +30,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override @Override
protected void configure(HttpSecurity http) throws Exception { protected void configure(HttpSecurity http) throws Exception {
//String allowedRoutes = "/test/**,/error/**,/user/**,/repay/**"; String allowedRoutes = "/test/**,/error/**,/user/**,/repay/**";
String allowedRoutes = "/test/**,/error/**"; //String allowedRoutes = "/test/**,/error/**";
String[] allowedRoutesArr = allowedRoutes.split(","); String[] allowedRoutesArr = allowedRoutes.split(",");
http http
.authorizeRequests() .authorizeRequests()
......
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