From 74084d2faf944ddd3d13a01717ddaca2c7e29b8c Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 19 Jun 2025 12:50:28 +0800 Subject: [PATCH] fix --- .../resources/application-dev-windows.properties | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/test/resources/application-dev-windows.properties b/src/test/resources/application-dev-windows.properties index d095c50..8c91e15 100644 --- a/src/test/resources/application-dev-windows.properties +++ b/src/test/resources/application-dev-windows.properties @@ -36,4 +36,15 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver # mybatis-plus mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl mybatis-plus.global-config.db-config.logic-delete-field=deleted -mybatis-plus.global-config.db-config.id-type=auto \ No newline at end of file +mybatis-plus.global-config.db-config.id-type=auto + +# Redis 开关控制 +knowledge.base.redis.enable=true + +# Redis 服务配置 +knowledge.base.redis.host=localhost +knowledge.base.redis.port=6379 +knowledge.base.redis.password= # 可留空 + +# Redis 默认缓存时间(分钟) +knowledge.base.redis.default-expire-minutes=1440 \ No newline at end of file