From 84de5a5d42d8540f9e5867b2feba1c334cf4f6ba Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 09 十月 2022 09:26:18 +0800 Subject: [PATCH] update redisson 3.17.6 => 3.17.7 修复设置NameMapper导致队列功能异常问题 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/R.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/R.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/R.java index 70584c6..12dc16c 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/R.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/R.java @@ -75,4 +75,11 @@ return r; } + public Boolean isError() { + return !isSuccess(); + } + + public Boolean isSuccess() { + return R.SUCCESS == getCode(); + } } -- Gitblit v1.9.3