gateway的无效打印信息去除

This commit is contained in:
zer0Black
2022-04-10 17:34:18 +08:00
parent e0af250323
commit 036fb7c737
2 changed files with 1 additions and 3 deletions
@@ -130,7 +130,7 @@ public class ShiroConfig {
filterChainDefinitionMap.put("/newsWebsocket/**", "anon");//CMS模块
filterChainDefinitionMap.put("/vxeSocket/**", "anon");//JVxeTable无痕刷新示例
//性能监控 TODO 存在安全漏洞泄露TOEKN(durid连接池也有)
//性能监控
filterChainDefinitionMap.put("/actuator/**", "anon");
// 添加自己的过滤器并且取名为jwt
@@ -20,8 +20,6 @@ public class JeroGatewayApplication implements CommandLineRunner {
public static void main(String[] args) {
ConfigurableApplicationContext applicationContext = SpringApplication.run(JeroGatewayApplication.class, args);
String userName = applicationContext.getEnvironment().getProperty("jero.test");
System.err.println("user name :" +userName);
}