From 1cb04fd747006f86aebb2870344817f8ac9699ad Mon Sep 17 00:00:00 2001 From: helltractor <1664309610@qq.com> Date: Mon, 9 Dec 2024 23:15:15 +0800 Subject: [PATCH] revert: change host and port --- .../java/com/helltractor/demo/config/RedisConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo-redis/src/main/java/com/helltractor/demo/config/RedisConfiguration.java b/demo-redis/src/main/java/com/helltractor/demo/config/RedisConfiguration.java index 56e3481..e9c5c8e 100644 --- a/demo-redis/src/main/java/com/helltractor/demo/config/RedisConfiguration.java +++ b/demo-redis/src/main/java/com/helltractor/demo/config/RedisConfiguration.java @@ -16,10 +16,10 @@ public class RedisConfiguration{ final static Logger logger = LoggerFactory.getLogger(RedisConfiguration.class); - @Value("${spring.data.redis.host}") + @Value("${spring.redis.host}") private String host; - @Value("${spring.data.redis.port}") + @Value("${spring.redis.port}") private int port; /**