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

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

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