diff --git a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java index ee50cdf..1450895 100644 --- a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java +++ b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java @@ -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()