暂存提交

This commit is contained in:
2026-07-31 18:10:32 +08:00
parent e834482717
commit 9a37657148
35 changed files with 435 additions and 44 deletions
+3 -7
View File
@@ -4,10 +4,6 @@ spring:
username: ${FILE_DB_USERNAME}
password: ${FILE_DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
file:
storage:
provider: ${FILE_STORAGE_PROVIDER:oss}
endpoint: ${FILE_STORAGE_ENDPOINT:}
bucket: ${FILE_STORAGE_BUCKET:}
access-key: ${FILE_STORAGE_ACCESS_KEY:}
secret-key: ${FILE_STORAGE_SECRET_KEY:}
# 当前代码只实现本地/共享文件目录,非本地环境必须显式注入并挂载可写目录。
baiyue.file.storage-root: ${FILE_STORAGE_ROOT}
+4
View File
@@ -4,3 +4,7 @@ spring:
username: ${ORDER_DB_USERNAME}
password: ${ORDER_DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
baiyue.clients:
# 容器环境默认通过 Nacos 的 warehouse-service 实例调用;仅端口回归时显式设置直连 URL。
warehouse.url: ${WAREHOUSE_SERVICE_URL:}
+1 -1
View File
@@ -7,7 +7,7 @@ baiyue:
security:
jwt-secret: ${JWT_SECRET:change-me-to-at-least-32-bytes-long-before-start}
issuer: ${JWT_ISSUER:auth-service}
internal-service-token: ${INTERNAL_SERVICE_TOKEN:change-me-to-an-internal-token-at-least-32-bytes-long}
internal-service-token: ${INTERNAL_SERVICE_TOKEN:phase1-local-internal-token-at-least-32-bytes}
token-key-prefix: ${REDIS_TOKEN_KEY_PREFIX:baiyue:auth}
openapi.enabled: ${SWAGGER_ENABLED:true}
audit.enabled: true
+2 -1
View File
@@ -4,4 +4,5 @@ spring.datasource:
username: ${ORDER_DB_USERNAME:root}
password: ${ORDER_DB_PASSWORD:123456}
baiyue.clients:
warehouse.url: ${WAREHOUSE_SERVICE_URL:http://127.0.0.1:9205}
# 默认留空并使用 Nacos 的 warehouse-service 实例;仅独立端口回归时显式设置直连 URL。
warehouse.url: ${WAREHOUSE_SERVICE_URL:}