This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
CaiXiang
/
cigs4
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
feat: 新增sercurity对于验证码接口的放行
pull/1/head
weihongyang
2 years ago
parent
6ba316299d
commit
c7c397e92d
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
ym-admin/src/main/java/com/cnbm/admin/config/SecurityConfig.java
+ 2
- 1
ym-admin/src/main/java/com/cnbm/admin/config/SecurityConfig.java
View File
@@ -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()
Write
Preview
Loading…
Cancel
Save