feat: 使用配置项替换文件URL中的CDN域名

将硬编码的CDN域名替换为可配置的filePrefix,方便切换文件上传服务地址,并更新本地数据库连接配置。
This commit is contained in:
2026-06-18 13:57:33 +08:00
parent 7fa7a2e8ea
commit d30808cfe2
2 changed files with 9 additions and 5 deletions

View File

@@ -28,10 +28,10 @@ database:
timeMaintainDisabled: false # (可选)是否完全关闭时间更新特性为true时CreatedAt/UpdatedAt/DeletedAt都将失效
model_gateway:
- type: "pgsql"
host: "116.204.74.41"
port: "15432"
host: "localhost"
port: "5432"
user: "postgres"
pass: "Bjang09@686^*^"
pass: "123456"
name: "model-gateway"
prefix: ""
role: "master"
@@ -59,6 +59,9 @@ consul:
jaeger:
addr: 192.168.3.30:4318
# 文件上传服务地址与oss模块minio中的endpoint一致
filePrefix: "http://116.204.74.41:9000"
task:
waitTimeoutSeconds: 600 # /composeMessages 同步等待最终结果的最长时间(秒)