From e2c1307003710d0c3623566402e82ac1d156bdc8 Mon Sep 17 00:00:00 2001 From: cat_shark <1716967236@qq.com> Date: Mon, 28 Jul 2025 09:23:11 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0=E5=81=A5?= =?UTF-8?q?=E5=BA=B7=E6=A3=80=E6=9F=A5=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 6 ++++++ src/main/resources/application.yml | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 26f7d3c..9a91bd7 100644 --- a/pom.xml +++ b/pom.xml @@ -67,6 +67,7 @@ mysql-connector-java 8.0.28 + com.alibaba druid @@ -123,6 +124,11 @@ 2.15.4 + + org.springframework.boot + spring-boot-starter-actuator + + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index e21eff8..a29f410 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -41,4 +41,11 @@ sa-token: # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik) token-style: uuid # 是否输出操作日志 - is-log: true \ No newline at end of file + is-log: true + +# 健康检查配置 +management: + endpoints: + web: + exposure: + include: health,info # 或 "*" \ No newline at end of file