Commit e0aa4f81 LN

修改初始菜单数据

1 个父辈 469a338b
...@@ -14,6 +14,10 @@ import java.util.HashSet; ...@@ -14,6 +14,10 @@ import java.util.HashSet;
import java.util.List; import java.util.List;
@Slf4j @Slf4j
public class UserCodeUtil { public class UserCodeUtil {
public static void main(String[] args) {
CreateUserCode( );
}
public static void CreateUserCode( ) { public static void CreateUserCode( ) {
try { try {
String filePath = "F:\\"; String filePath = "F:\\";
......
...@@ -122,8 +122,6 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -122,8 +122,6 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
// 放行OPTIONS请求 // 放行OPTIONS请求
.antMatchers(HttpMethod.OPTIONS, "/**").permitAll() .antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
// .antMatchers("api/menus/build").permitAll() // .antMatchers("api/menus/build").permitAll()
.antMatchers("api/users/download").permitAll()
.antMatchers("/api/users/upload").permitAll()
// 自定义匿名访问所有url放行:允许匿名和带Token访问,细腻化到每个 Request 类型 // 自定义匿名访问所有url放行:允许匿名和带Token访问,细腻化到每个 Request 类型
// GET // GET
.antMatchers(HttpMethod.GET, anonymousUrls.get(RequestMethodEnum.GET.getType()).toArray(new String[0])).permitAll() .antMatchers(HttpMethod.GET, anonymousUrls.get(RequestMethodEnum.GET.getType()).toArray(new String[0])).permitAll()
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!