This commit is contained in:
2026-08-04 11:14:42 +08:00
parent 0fe129bba7
commit da9aa9515e
14 changed files with 135 additions and 28 deletions
+3
View File
@@ -8,3 +8,6 @@ spring:
baiyue.clients:
# 容器环境默认通过 Nacos 的 warehouse-service 实例调用;仅端口回归时显式设置直连 URL。
warehouse.url: ${WAREHOUSE_SERVICE_URL:}
baiyue:
warehouse:
public-tenant-id: ${DEFAULT_TENANT_ID:10001}
+4
View File
@@ -4,3 +4,7 @@ spring:
username: ${WAREHOUSE_DB_USERNAME}
password: ${WAREHOUSE_DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
baiyue:
warehouse:
public-tenant-id: ${DEFAULT_TENANT_ID:10001}
+3
View File
@@ -5,3 +5,6 @@ spring.datasource:
password: ${ORDER_DB_PASSWORD:123456}
baiyue.clients:
warehouse.url: ${WAREHOUSE_SERVICE_URL:}
baiyue:
warehouse:
public-tenant-id: ${DEFAULT_TENANT_ID:10001}
+4
View File
@@ -3,3 +3,7 @@ spring.datasource:
url: ${WAREHOUSE_DB_URL:jdbc:mysql://127.0.0.1:3306/baiyue_warehouse?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true}
username: ${WAREHOUSE_DB_USERNAME:root}
password: ${WAREHOUSE_DB_PASSWORD:123456}
baiyue:
warehouse:
public-tenant-id: ${DEFAULT_TENANT_ID:10001}