From ec13e0cbab65781703bfc582aa38dc945befc656 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Wed, 26 Oct 2022 11:51:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=A6=81=E7=94=A8es=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jetlinks-standalone/src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetlinks-standalone/src/main/resources/application.yml b/jetlinks-standalone/src/main/resources/application.yml index dcad5bad..862696a0 100644 --- a/jetlinks-standalone/src/main/resources/application.yml +++ b/jetlinks-standalone/src/main/resources/application.yml @@ -144,7 +144,7 @@ logging: # org.springframework.data.elasticsearch.client: trace # org.elasticsearch: error org.elasticsearch: error - org.elasticsearch.deprecation.search.aggregations.bucket.histogram: error + org.elasticsearch.deprecation: off config: classpath:logback-spring.xml vertx: max-event-loop-execute-time-unit: seconds From 26d058d5464a9c277b58cc7e7dbd9c81dfc890fe Mon Sep 17 00:00:00 2001 From: zhouhao Date: Wed, 26 Oct 2022 14:36:16 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/jetlinks-standalone/src/main/resources/application.yml b/jetlinks-standalone/src/main/resources/application.yml index 862696a0..b245d66a 100644 --- a/jetlinks-standalone/src/main/resources/application.yml +++ b/jetlinks-standalone/src/main/resources/application.yml @@ -159,6 +159,25 @@ micrometer: metrics: default: step: 30s +system: + config: + scopes: + - id: front + name: 前端配置 + public-access: true + - id: paths + name: 访问路径配置 + public-access: true + properties: + - key: base-path + name: 接口根路径 + default-value: http://localhost:9000/api + - id: amap + name: 高德地图配置 + public-access: false + properties: + - key: apiKey # 配置id + name: 高德地图ApiKey # 名称 management: health: elasticsearch: