From b8ec2b0a9de6c78da65d0ff50f6fac04c5c7b87f Mon Sep 17 00:00:00 2001 From: liuyihe <2513762445@qq.com> Date: Sat, 1 Aug 2026 14:17:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auth/src/main/resources/application-test.yml | 9 +++++++++ iam/src/main/resources/application-test.yml | 9 +++++++++ order/src/main/resources/application-test.yml | 9 +++++++++ warehouse/src/main/resources/application-test.yml | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/auth/src/main/resources/application-test.yml b/auth/src/main/resources/application-test.yml index 718ce81ac..07c7f96b5 100644 --- a/auth/src/main/resources/application-test.yml +++ b/auth/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${AUTH_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_auth?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true} diff --git a/iam/src/main/resources/application-test.yml b/iam/src/main/resources/application-test.yml index 533e8c44c..9566a4810 100644 --- a/iam/src/main/resources/application-test.yml +++ b/iam/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${IAM_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_iam?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true} diff --git a/order/src/main/resources/application-test.yml b/order/src/main/resources/application-test.yml index b6652c04d..5f6be57fc 100644 --- a/order/src/main/resources/application-test.yml +++ b/order/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${ORDER_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_order?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true} diff --git a/warehouse/src/main/resources/application-test.yml b/warehouse/src/main/resources/application-test.yml index 3b61d1dbb..5fb37b7f4 100644 --- a/warehouse/src/main/resources/application-test.yml +++ b/warehouse/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${WAREHOUSE_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_warehouse?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true}