This commit is contained in:
牛子源 2025-05-15 11:33:38 +08:00
parent 6aa6ed9134
commit 5caf2e5fae
2 changed files with 10 additions and 1 deletions

View File

@ -125,6 +125,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
</dependencies>
<build>

View File

@ -2,7 +2,11 @@ spring:
application:
name: server
data:
redis:
mongodb:
host: dev.jizhiweb.cn # MongoDB服务器地址
port: 27017 # MongoDB端口
database: syjiaer_clinic # 使用的数据库名称
redis:
host: dev.jizhiweb.cn
port: 6379
datasource: