增加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

@@ -22,6 +22,9 @@ spring.data.redis.lettuce.pool.max-active=8
spring.data.redis.lettuce.pool.max-wait=1ms
spring.data.redis.lettuce.shutdown-timeout=100ms
#MongoDB
spring.data.mongodb.uri=mongodb://fht:fanhuitong@139.199.77.221:27027/apk_installation_records
# Hibernate配置
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect