From 9619e60e3075a432d692f3cd8b76787568c53aad Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 07 五月 2025 15:56:58 +0800
Subject: [PATCH] 1、完善代码;2、禁止输出SpringBoot启动时Banner。
---
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml | 11 ++---------
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/console/CommandConsole.java | 2 +-
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/console/CommandConsole.java b/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/console/CommandConsole.java
index afb34ee..1d359f1 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/console/CommandConsole.java
+++ b/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)){
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml b/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml
index 20145fa..52c006c 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/resources/application.yml
@@ -7,12 +7,5 @@
devtools:
livereload:
enabled: false
-
-#绂佽緭鍑簊pringboot鏍囧織淇℃伅
-management:
- endpoints:
- info:
- enabled: false
- web:
- exposure:
- include: "*"
\ No newline at end of file
+ main:
+ banner-mode: off #Spring Boot鍚姩鏃剁杈撳嚭Banner
--
Gitblit v1.8.0