From 63228598d9fcd6e5d00172c12418a371d4c96766 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Thu, 7 Sep 2023 21:08:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=90=AF=E5=8A=A8=E6=88=90=E5=8A=9F=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../charles7c/cnadmin/ContiNewAdminApplication.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 06693fc9..bf597b2c 100644 --- a/README.md +++ b/README.md @@ -361,7 +361,7 @@ git clone https://github.com/Charles7c/continew-admin.git # [3.也可以在 IntelliJ IDEA 中直接配置程序启动环境变量(DB_HOST、DB_PORT、DB_USER、DB_PWD、DB_NAME;REDIS_HOST、REDIS_PORT、REDIS_PWD、REDIS_DB)] # 4.启动程序 -# 4.1 启动成功:访问 http://localhost:8000/,页面输出:ContiNew Admin backend service started successfully. +# 4.1 启动成功:访问 http://localhost:8000/,页面输出:Xxx started successfully. # 4.2 接口文档:http://localhost:8000/doc.html # 5.部署 diff --git a/continew-admin-webapi/src/main/java/top/charles7c/cnadmin/ContiNewAdminApplication.java b/continew-admin-webapi/src/main/java/top/charles7c/cnadmin/ContiNewAdminApplication.java index 0af9cf88..65b4e33e 100644 --- a/continew-admin-webapi/src/main/java/top/charles7c/cnadmin/ContiNewAdminApplication.java +++ b/continew-admin-webapi/src/main/java/top/charles7c/cnadmin/ContiNewAdminApplication.java @@ -70,7 +70,7 @@ public class ContiNewAdminApplication implements ApplicationRunner { @SaIgnore @GetMapping("/") public String index() { - return String.format("%s backend service started successfully.", projectProperties.getName()); + return String.format("%s service started successfully.", projectProperties.getName()); } @Override @@ -79,13 +79,13 @@ public class ContiNewAdminApplication implements ApplicationRunner { Integer port = serverProperties.getPort(); String contextPath = serverProperties.getServlet().getContextPath(); String baseUrl = URLUtil.normalize(String.format("%s:%s%s", hostAddress, port, contextPath)); - log.info("------------------------------------------------------"); - log.info("{} backend service started successfully.", projectProperties.getName()); - log.info("后端 API 地址:{}", baseUrl); + log.info("----------------------------------------------"); + log.info("{} service started successfully.", projectProperties.getName()); + log.info("API 地址:{}", baseUrl); Boolean docEnabled = Convert.toBool(SpringUtil.getProperty("springdoc.swagger-ui.enabled")); if (Boolean.TRUE.equals(docEnabled)) { - log.info("后端 API 文档:{}/doc.html", baseUrl); + log.info("API 文档:{}/doc.html", baseUrl); } - log.info("------------------------------------------------------"); + log.info("----------------------------------------------"); } }