From 68aa7c66071339064dfd300a8e3d7540db09075d Mon Sep 17 00:00:00 2001 From: hjl <1657978663@qq.com> Date: 星期三, 19 六月 2024 17:39:33 +0800 Subject: [PATCH] fix: 学习端bug --- ruoyi-service/ruoyi-goods/src/main/java/com/ruoyi/goods/config/RedissonConfig.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-goods/src/main/java/com/ruoyi/goods/config/RedissonConfig.java b/ruoyi-service/ruoyi-goods/src/main/java/com/ruoyi/goods/config/RedissonConfig.java index c9a8d86..5cd7758 100644 --- a/ruoyi-service/ruoyi-goods/src/main/java/com/ruoyi/goods/config/RedissonConfig.java +++ b/ruoyi-service/ruoyi-goods/src/main/java/com/ruoyi/goods/config/RedissonConfig.java @@ -22,7 +22,10 @@ @Bean public RedissonClient redissonClient() { Config config = new Config(); - config.useSingleServer().setAddress("redis://127.0.0.1:6379").setPassword("123456"); + // 线上redis + config.useSingleServer().setAddress("redis://127.0.0.1:6379").setPassword("dolphin123456"); + // 本地redis +// config.useSingleServer().setAddress("redis://127.0.0.1:6379").setPassword("123456"); return Redisson.create(config); } -- Gitblit v1.7.1