From 7aa9325a241528f72baeefdd852f0afc799e2a4e Mon Sep 17 00:00:00 2001 From: wulin Date: Sat, 21 Oct 2023 20:14:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot-box-websocket-api/src/main/resources/bootstrap-test.yml | 2 +- .../iot-box-websocket-api/src/main/resources/bootstrap.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 b6445fc..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.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 db57474..aa084ee 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,5 +1,7 @@ server: port: 8080 spring: + profiles: + active: test application: name: qiuguo-iot-box-websocket \ No newline at end of file