Commit c779b893 by 1539136324@qq.com

登录接口设置为匿名模式

1 parent 88d9e5be
...@@ -130,6 +130,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -130,6 +130,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/wecom/community/h5/**").anonymous() .antMatchers("/wecom/community/h5/**").anonymous()
//微信授权接口 //微信授权接口
.antMatchers("/weixin/auth/**").anonymous() .antMatchers("/weixin/auth/**").anonymous()
.antMatchers("/weixin/auth/**").anonymous()
.antMatchers("/login").anonymous()
// 除上面外的所有请求全部需要鉴权认证 // 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated() .anyRequest().authenticated()
.and() .and()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!