提交 c779b893 编写于 作者: 1 1539136324@qq.com

登录接口设置为匿名模式

上级 88d9e5be
......@@ -130,6 +130,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/wecom/community/h5/**").anonymous()
//微信授权接口
.antMatchers("/weixin/auth/**").anonymous()
.antMatchers("/weixin/auth/**").anonymous()
.antMatchers("/login").anonymous()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
.and()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册