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