修改了配置类,开放绑定网站账号的接口
This commit is contained in:
parent
8d58208e64
commit
3ac4cfff3d
@ -46,6 +46,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.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()
|
.antMatchers(HttpMethod.POST,"/api/user/findUserByOpenId").permitAll()
|
||||||
|
.antMatchers(HttpMethod.POST,"/api/user/updateOpenIdByPhone").permitAll()
|
||||||
// 所有其它请求需要身份认证
|
// 所有其它请求需要身份认证
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
.and()
|
.and()
|
||||||
|
Loading…
Reference in New Issue
Block a user