Commit 5e922c7c authored by 吴卿华's avatar 吴卿华

化工巡检

parent 0bfab4d1
......@@ -99,15 +99,15 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.authorizeRequests()
// 对于登录login 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/captchaImage").anonymous()
.antMatchers("/system/result/list", "/captchaImage").anonymous()
.antMatchers("/contractTrain/list", "/captchaImage").anonymous()
.antMatchers("/contractTrain/getITContractorTrainCourse", "/captchaImage").anonymous()
.antMatchers(
HttpMethod.GET,
"/*.html",
"/**/*.html",
"/**/*.css",
"/**/*.js"
"/**/*.js",
"/contractTrain/getITContractorTrainCourse",
"/contractTrain/list",
"/system/result/list"
).permitAll()
.antMatchers(
HttpMethod.POST,
......
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