remove 移除无用配置

This commit is contained in:
疯狂的狮子li 2021-08-12 11:37:12 +08:00
parent 5645356fa9
commit 8adbdee9d9
2 changed files with 1 additions and 7 deletions

View File

@ -129,11 +129,6 @@ public class Constants
*/ */
public static final String SYS_DICT_KEY = "sys_dict:"; public static final String SYS_DICT_KEY = "sys_dict:";
/**
* 资源映射路径 前缀
*/
public static final String RESOURCE_PREFIX = "/profile";
/** /**
* RMI 远程方法调用 * RMI 远程方法调用
*/ */

View File

@ -104,8 +104,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
"/*.html", "/*.html",
"/**/*.html", "/**/*.html",
"/**/*.css", "/**/*.css",
"/**/*.js", "/**/*.js"
"/profile/**"
).permitAll() ).permitAll()
.antMatchers("/doc.html").anonymous() .antMatchers("/doc.html").anonymous()
.antMatchers("/swagger-resources/**").anonymous() .antMatchers("/swagger-resources/**").anonymous()