feat: 新增sercurity对于验证码接口的放行

This commit is contained in:
weihongyang 2022-06-23 13:56:43 +08:00
父節點 6ba316299d
當前提交 c7c397e92d

查看文件

@ -64,7 +64,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
"/doc.html",
"/swagger-resources/**",
"/swagger-ui/**",
"/webjars/**").anonymous()
"/webjars/**",
"/captcha").anonymous()
// .antMatchers("/testCors").hasAuthority("system:dept:list222")
// 除上面外的所有请求全部需要鉴权认证
.anyRequest()