修改的权限配置类的信息

This commit is contained in:
DESKTOP-G8BCEP0\HP 2021-07-20 09:02:13 +08:00
parent 3e8dd2e22b
commit b34d60ad6f

View File

@ -40,6 +40,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.POST, "/api/login").permitAll() .antMatchers(HttpMethod.POST, "/api/login").permitAll()
// 所有 app 用户注册 的POST请求 都放行 // 所有 app 用户注册 的POST请求 都放行
.antMatchers(HttpMethod.POST, "/api/person-investigator/add").permitAll() .antMatchers(HttpMethod.POST, "/api/person-investigator/add").permitAll()
.antMatchers("/ws/asset").permitAll()
.antMatchers(HttpMethod.GET,"/api/user/booleanUserName").permitAll() .antMatchers(HttpMethod.GET,"/api/user/booleanUserName").permitAll()
.antMatchers(HttpMethod.POST,"/insertFirePoint").permitAll() .antMatchers(HttpMethod.POST,"/insertFirePoint").permitAll()
.antMatchers(HttpMethod.POST,"/insertAppTask").permitAll() .antMatchers(HttpMethod.POST,"/insertAppTask").permitAll()