From 7704c3a7fb956ce8078671fecd2fe4bfe454d942 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Wed, 12 Nov 2025 22:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=AF=A6=E6=83=85=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dredis=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/配置详情.yml | 35 +++++++++++++++++---------------- web/src/views/map/index.vue | 1 + 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/main/resources/配置详情.yml b/src/main/resources/配置详情.yml index f9ae606a0..15ac7ea04 100644 --- a/src/main/resources/配置详情.yml +++ b/src/main/resources/配置详情.yml @@ -19,23 +19,24 @@ spring: max-file-size: 10MB max-request-size: 100MB # REDIS数据库配置 - redis: - # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1 - host: 127.0.0.1 - # [必须修改] 端口号 - port: 6379 - # [可选] 数据库 DB - database: 6 - # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 - password: - # [可选] 超时时间 - timeout: 10000 - # [可选] 一个pool最多可分配多少个jedis实例 - poolMaxTotal: 1000 - # [可选] 一个pool最多有多少个状态为idle(空闲)的jedis实例 - poolMaxIdle: 500 - # [可选] 最大的等待时间(秒) - poolMaxWait: 5 + data: + redis: + # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1 + host: 127.0.0.1 + # [必须修改] 端口号 + port: 6379 + # [可选] 数据库 DB + database: 6 + # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 + password: + # [可选] 超时时间 + timeout: 10000 + # [可选] 一个pool最多可分配多少个jedis实例 + poolMaxTotal: 1000 + # [可选] 一个pool最多有多少个状态为idle(空闲)的jedis实例 + poolMaxIdle: 500 + # [可选] 最大的等待时间(秒) + poolMaxWait: 5 # [必选] jdbc数据库配置 datasource: # kingbase配置 diff --git a/web/src/views/map/index.vue b/web/src/views/map/index.vue index d56a0f78b..0d0e74914 100755 --- a/web/src/views/map/index.vue +++ b/web/src/views/map/index.vue @@ -198,6 +198,7 @@ export default { }, refreshLayer(){ this.closeInfoBox() + // 刷新瓦片图层 if (channelLayer) { this.$refs.mapComponent.refreshLayer(channelLayer)