修复配置文件中存在的问题

This commit is contained in:
75681 2025-08-13 13:48:06 +08:00
parent 1a971abbb1
commit 11966cade9
3 changed files with 8 additions and 3 deletions

View File

@ -7,13 +7,15 @@ logging:
spring:
datasource:
youfool:
url: jdbc:postgresql://172.22.80.157:5432/devops_gd?currentSchema=dev
url: jdbc:postgresql://172.22.80.157:5432/devops_gd
username: devops_gd
password: ChinaWeal@2024
devops:
url: jdbc:postgresql://172.22.80.157:5432/devops_gd?currentSchema=dev
url: jdbc:postgresql://172.22.80.157:5432/devops_gd
username: devops_gd
password: ChinaWeal@2024
main:
# Spring Boot 2.7+新增:允许循环依赖(临时修复,后续需重构代码消除循环依赖)
allow-circular-references: true

View File

@ -19,6 +19,9 @@ spring:
url: jdbc:postgresql://localhost:5432/devops_gd
username: postgres
password: 123456
main:
# Spring Boot 2.7+新增:允许循环依赖(临时修复,后续需重构代码消除循环依赖)
allow-circular-references: true
file:
devopsDir: ./upload

View File

@ -3,7 +3,7 @@ logging:
root: info
spring:
profiles:
active: prod
active: local
application:
name: youfoo-devops
datasource: