From 64ce9daf8855edebf8c77b40095a4ea597331cd9 Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期二, 30 八月 2022 11:44:44 +0800 Subject: [PATCH] fix 修正 spring cache 获取在线用户失败问题, 回退为使用 redis 工具缓存 ; --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/dto/UserOnlineDTO.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/dto/UserOnlineDTO.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/dto/UserOnlineDTO.java index e830274..29ce1d1 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/dto/UserOnlineDTO.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/dto/UserOnlineDTO.java @@ -2,6 +2,7 @@ import lombok.Builder; import lombok.Data; +import lombok.NoArgsConstructor; import java.io.Serializable; @@ -12,7 +13,7 @@ */ @Data -@Builder +@NoArgsConstructor public class UserOnlineDTO implements Serializable { private static final long serialVersionUID = 1L; -- Gitblit v1.9.3