增加mongodb配置及查询

This commit is contained in:
2025-09-04 18:14:55 +08:00
parent 5d16ba01bd
commit 5ce369db71
7 changed files with 190 additions and 1 deletions

View File

@@ -79,6 +79,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>