修改了配置类,开放绑定网站账号的接口

This commit is contained in:
DESKTOP-G8BCEP0\HP 2021-09-09 16:08:23 +08:00
parent 8d58208e64
commit 3ac4cfff3d

View File

@ -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()