liurunyu
2 天以前 9619e60e3075a432d692f3cd8b76787568c53aad
1、完善代码;2、禁止输出SpringBoot启动时Banner。
2个文件已修改
13 ■■■■ 已修改文件
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/console/CommandConsole.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/console/CommandConsole.java
@@ -57,7 +57,7 @@
            char[] password = console.readPassword(">>Password: ");
            String passwordStr = String.valueOf(password) ;
            if (passwordStr.equals("help")) {
                console.printf("密码是%1$s.\n", myPassword);
                console.printf("密码是%1$s\n", myPassword);
                // 使用后应立即将数组清空,以减少其在内存中占用的时间,增强安全性
                password = null;
            } else if(passwordStr.equals(myPassword)){
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml
@@ -7,12 +7,5 @@
    devtools:
        livereload:
            enabled: false
#禁输出springboot标志信息
management:
    endpoints:
        info:
            enabled: false
        web:
            exposure:
                include: "*"
    main:
        banner-mode: off #Spring Boot启动时禁输出Banner