From 425a251f2d9046e95661928e2fb7cd983e9d74fc Mon Sep 17 00:00:00 2001 From: zhangqy Date: Fri, 22 Sep 2023 17:17:35 +0800 Subject: [PATCH] =?UTF-8?q?[update]=E4=BF=AE=E6=94=B9=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iot-gateway/src/main/resources/bootstrap-test.yml | 2 +- iot-gateway/src/main/resources/bootstrap.yml | 1 + .../iot-box-user-api/src/main/resources/bootstrap-test.yml | 2 +- iot-modules/iot-box-user-api/src/main/resources/bootstrap.yml | 1 + .../iot-box-websocket-api/src/main/resources/bootstrap-test.yml | 2 +- .../iot-box-websocket-api/src/main/resources/bootstrap.yml | 1 + 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/iot-gateway/src/main/resources/bootstrap-test.yml b/iot-gateway/src/main/resources/bootstrap-test.yml index 8006c47..e13472b 100644 --- a/iot-gateway/src/main/resources/bootstrap-test.yml +++ b/iot-gateway/src/main/resources/bootstrap-test.yml @@ -11,4 +11,4 @@ spring: file-extension: yml # 共享配置 shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} \ No newline at end of file + - application-dev.${spring.cloud.nacos.config.file-extension} \ No newline at end of file diff --git a/iot-gateway/src/main/resources/bootstrap.yml b/iot-gateway/src/main/resources/bootstrap.yml index eeb2208..ec17f21 100644 --- a/iot-gateway/src/main/resources/bootstrap.yml +++ b/iot-gateway/src/main/resources/bootstrap.yml @@ -1,5 +1,6 @@ server: port: 8080 +spring: application: name: qiuguo-iot-gateway diff --git a/iot-modules/iot-box-user-api/src/main/resources/bootstrap-test.yml b/iot-modules/iot-box-user-api/src/main/resources/bootstrap-test.yml index 8006c47..e13472b 100644 --- a/iot-modules/iot-box-user-api/src/main/resources/bootstrap-test.yml +++ b/iot-modules/iot-box-user-api/src/main/resources/bootstrap-test.yml @@ -11,4 +11,4 @@ spring: file-extension: yml # 共享配置 shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} \ No newline at end of file + - application-dev.${spring.cloud.nacos.config.file-extension} \ No newline at end of file diff --git a/iot-modules/iot-box-user-api/src/main/resources/bootstrap.yml b/iot-modules/iot-box-user-api/src/main/resources/bootstrap.yml index 91d7861..303ef87 100644 --- a/iot-modules/iot-box-user-api/src/main/resources/bootstrap.yml +++ b/iot-modules/iot-box-user-api/src/main/resources/bootstrap.yml @@ -1,4 +1,5 @@ server: port: 8080 +spring: application: name: qiuguo-iot-box-user-api \ No newline at end of file diff --git a/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap-test.yml b/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap-test.yml index 8006c47..e13472b 100644 --- a/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap-test.yml +++ b/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap-test.yml @@ -11,4 +11,4 @@ spring: file-extension: yml # 共享配置 shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} \ No newline at end of file + - application-dev.${spring.cloud.nacos.config.file-extension} \ No newline at end of file diff --git a/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap.yml b/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap.yml index 3f3695e..db57474 100644 --- a/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap.yml +++ b/iot-modules/iot-box-websocket-api/src/main/resources/bootstrap.yml @@ -1,4 +1,5 @@ server: port: 8080 +spring: application: name: qiuguo-iot-box-websocket \ No newline at end of file