feat:添加健康检查相关配置

This commit is contained in:
2025-07-28 09:23:11 +08:00
parent 7b1d450e37
commit e2c1307003
2 changed files with 14 additions and 1 deletions
+6
View File
@@ -67,6 +67,7 @@
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
@@ -123,6 +124,11 @@
<version>2.15.4</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<build>
+8 -1
View File
@@ -41,4 +41,11 @@ sa-token:
# token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik
token-style: uuid
# 是否输出操作日志
is-log: true
is-log: true
# 健康检查配置
management:
endpoints:
web:
exposure:
include: health,info # 或 "*"