Commit 579f8849 authored by 王晓倩's avatar 王晓倩

泽宏云数据接口单独放置controller

parent e5917dbb
...@@ -97,14 +97,13 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter ...@@ -97,14 +97,13 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
// 过滤请求 // 过滤请求
.authorizeRequests() .authorizeRequests()
// 对于登录login 验证码captchaImage 允许匿名访问 // 对于登录login 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/captchaImage","/websocket/**","/websocketServer").anonymous() .antMatchers("/login", "/captchaImage","/websocket/**","/websocketServer","/detector/detectorReport/**").anonymous()
.antMatchers( .antMatchers(
HttpMethod.GET, HttpMethod.GET,
"/*.html", "/*.html",
"/**/*.html", "/**/*.html",
"/**/*.css", "/**/*.css",
"/**/*.js", "/**/*.js"
"/detector/detectorInfo/**"
).permitAll() ).permitAll()
.antMatchers("/profile/**").anonymous() .antMatchers("/profile/**").anonymous()
.antMatchers("/common/download**").anonymous() .antMatchers("/common/download**").anonymous()
......
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