|
@@ -112,7 +112,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
.authorizeRequests()
|
|
|
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
|
|
.antMatchers("/login", "/register", "/captchaImage","/weChatLogin","/weChatOpenid","/common/upload",
|
|
|
- "/flowable/definition/**","/register/school/**","/system/dept/list/**","/system/xiaoYuanInfo/**",
|
|
|
+ "/flowable/definition/**","/register/school/**","/system/dept/list/**","/system/xiaoYuanInfo/**","/xiaoYuan/notice/**",
|
|
|
"/system/dict/data/type/**","/register/teacher/**","/register/parents/**","/register/student/**").permitAll()
|
|
|
// 静态资源,可匿名访问
|
|
|
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|