feat: 新增sercurity对于验证码接口的放行
This commit is contained in:
		@@ -64,7 +64,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
 | 
				
			|||||||
                        "/doc.html",
 | 
					                        "/doc.html",
 | 
				
			||||||
                        "/swagger-resources/**",
 | 
					                        "/swagger-resources/**",
 | 
				
			||||||
                        "/swagger-ui/**",
 | 
					                        "/swagger-ui/**",
 | 
				
			||||||
                        "/webjars/**").anonymous()
 | 
					                        "/webjars/**",
 | 
				
			||||||
 | 
					                        "/captcha").anonymous()
 | 
				
			||||||
//                .antMatchers("/testCors").hasAuthority("system:dept:list222")
 | 
					//                .antMatchers("/testCors").hasAuthority("system:dept:list222")
 | 
				
			||||||
                // 除上面外的所有请求全部需要鉴权认证
 | 
					                // 除上面外的所有请求全部需要鉴权认证
 | 
				
			||||||
                .anyRequest()
 | 
					                .anyRequest()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user