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("----------------------------------------------"); } }