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