提交 60e700c2 编写于 作者: zhouweidong's avatar zhouweidong

暂时放开权限

上级 d455009e
......@@ -120,7 +120,7 @@ public class ${item.codeName}SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/"+uploadpath).permitAll()
.antMatchers("/"+previewpath+"/**").permitAll()
// 所有请求都需要认证
.anyRequest().authenticated()
.anyRequest().permitAll()
// 防止iframe 造成跨域
.and().headers().frameOptions().disable();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册