修改了权限配置信息

This commit is contained in:
DESKTOP-4U0TDEF\20371 2021-07-16 11:40:02 +08:00
parent 9138932f01
commit 853aa0b81f

View File

@ -42,6 +42,8 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.POST, "/api/person-investigator/add").permitAll()
.antMatchers(HttpMethod.GET,"/api/user/booleanUserName").permitAll()
.antMatchers(HttpMethod.POST,"/insertFirePoint").permitAll()
.antMatchers(HttpMethod.POST,"/insertAppTask").permitAll()
.antMatchers(HttpMethod.GET,"/selectAppTask").permitAll()
// 所有其它请求需要身份认证
.anyRequest().authenticated()
.and()