From f81faf86ef9ed5bb9f8539403a845cb447cab913 Mon Sep 17 00:00:00 2001 From: lyf66 Date: Sun, 28 Sep 2025 16:57:15 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E7=AE=80=E5=8C=96Redis?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了多余的data层级嵌套 - 统一了Redis连接配置格式- 保留了必要的连接参数(host、port、password、database) - 清理了注释掉的重复配置项 --- src/main/resources/application-gs.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application-gs.yml b/src/main/resources/application-gs.yml index 72400b8..558932e 100644 --- a/src/main/resources/application-gs.yml +++ b/src/main/resources/application-gs.yml @@ -43,17 +43,11 @@ spring: dialect: org.hibernate.dialect.DmDialect # Redis - data: - redis: - host: 10.0.41.112 - port: 6379 - password: 1234567a - database: 4 -# host: 10.0.41.112 -# password: 1234567a -# host: 127.0.0.1 -# password: + redis: + host: 10.0.41.112 port: 6379 + password: 1234567a + database: 4 servlet: multipart: max-file-size: 1100MB