pdf修改
This commit is contained in:
parent
ea6c0b76ac
commit
e4e19f3ac8
@ -110,7 +110,7 @@ public class SecurityConfig {
|
||||
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
||||
requests.antMatchers("/login", "/register", "/captchaImage").permitAll()
|
||||
// 静态资源,可匿名访问
|
||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/**/*.pdf","/profile/**").permitAll()
|
||||
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|
||||
.antMatchers("/doc.html").permitAll() //Knife4j 过滤
|
||||
// 除上面外的所有请求全部需要鉴权认证
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user