diff --git a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java index 8a8f40e..d03fe2b 100644 --- a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java +++ b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java @@ -45,6 +45,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter { .antMatchers(HttpMethod.POST,"/importCvProjectExcel").permitAll() .antMatchers(HttpMethod.GET,"/excelOutWork").permitAll() .antMatchers(HttpMethod.GET,"/selectMemberAndWorkHour").permitAll() + .antMatchers(HttpMethod.POST,"/api/user/findUserByOpenId").permitAll() // 所有其它请求需要身份认证 .anyRequest().authenticated() .and()