修改了权限配置类,放开判断微信小程序是否绑定网站账号的接口

This commit is contained in:
DESKTOP-G8BCEP0\HP 2021-09-09 15:37:51 +08:00
parent 8166ae8481
commit afcf629670

View File

@ -45,6 +45,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.POST,"/importCvProjectExcel").permitAll() .antMatchers(HttpMethod.POST,"/importCvProjectExcel").permitAll()
.antMatchers(HttpMethod.GET,"/excelOutWork").permitAll() .antMatchers(HttpMethod.GET,"/excelOutWork").permitAll()
.antMatchers(HttpMethod.GET,"/selectMemberAndWorkHour").permitAll() .antMatchers(HttpMethod.GET,"/selectMemberAndWorkHour").permitAll()
.antMatchers(HttpMethod.POST,"/api/user/findUserByOpenId").permitAll()
// 所有其它请求需要身份认证 // 所有其它请求需要身份认证
.anyRequest().authenticated() .anyRequest().authenticated()
.and() .and()