mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
chore: 优化控制台启动完成输出内容
This commit is contained in:
@@ -78,13 +78,15 @@ public class ContiNewAdminApplication implements ApplicationRunner {
|
||||
String baseUrl = URLUtil.normalize("%s:%s%s".formatted(hostAddress, port, contextPath));
|
||||
log.info("----------------------------------------------");
|
||||
log.info("{} service started successfully.", projectProperties.getName());
|
||||
log.info("API地址:{}", baseUrl);
|
||||
log.info("Profile: {}", SpringUtil.getProperty("spring.profiles.active"));
|
||||
log.info("项目版本: v{} (ContiNew Starter: v{})", projectProperties.getVersion(), SpringUtil.getProperty("project.starter"));
|
||||
log.info("API 地址: {}", baseUrl);
|
||||
Knife4jProperties knife4jProperties = SpringUtil.getBean(Knife4jProperties.class);
|
||||
if (!knife4jProperties.isProduction()) {
|
||||
log.info("API文档:{}/doc.html", baseUrl);
|
||||
log.info("API 文档: {}/doc.html", baseUrl);
|
||||
}
|
||||
log.info("在线文档:https://continew.top");
|
||||
log.info("常见问题:https://continew.top/admin/faq.html");
|
||||
log.info("在线文档: https://continew.top");
|
||||
log.info("常见问题: https://continew.top/admin/faq.html");
|
||||
log.info("----------------------------------------------");
|
||||
}
|
||||
}
|
||||
|
@@ -5,5 +5,5 @@
|
||||
\____|\___/ |_| |_| \__||_||_| \_| \___| \_/\_/ /_/ \_\\__,_||_| |_| |_||_||_| |_|
|
||||
|
||||
:: ${project.name} :: v${project.version}
|
||||
:: ContiNew Starter :: v2.12.2
|
||||
:: ContiNew Starter :: v${project.starter}
|
||||
:: Spring Boot :: v${spring-boot.version}
|
||||
|
@@ -6,6 +6,7 @@ project:
|
||||
app-name: continew-admin
|
||||
# 版本
|
||||
version: 4.0.0-SNAPSHOT
|
||||
starter: 2.12.2
|
||||
# 描述
|
||||
description: 持续迭代优化的前后端分离中后台管理系统框架,开箱即用,持续提供舒适的开发体验。
|
||||
# 基本包
|
||||
|
Reference in New Issue
Block a user