diff --git a/pom.xml b/pom.xml
index e167392..456a02b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,11 @@
org.springframework.boot
spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
org.springframework.boot
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index fe786b7..439d569 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -1,16 +1,16 @@
spring:
# redis 配置
redis:
-# host: 127.0.0.1
-# port: 6379
-# database: 8
-# timeout: 5000
-# auth: caolin123
- host: 118.31.23.45
- port: 6973
+ host: 127.0.0.1
+ port: 6379
database: 8
timeout: 5000
- password: c12&%3s7l=
+ auth: caolin123
+# host: 118.31.23.45
+# port: 6973
+# database: 8
+# timeout: 5000
+# password: c12&%3s7l=
# 数据库 配置
datasource:
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 951669c..8dc1ffc 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -2,12 +2,18 @@ server:
port: 8888
servlet:
context-path: '/driver-api'
+# 程序状态监控
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"
spring:
application:
name: '@artifactId@'
profiles:
- active: prod
+ active: dev
#mybatis
mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml