From 79766fa8c2571affbd86bd4f8871d0db6bd52e08 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 28 七月 2021 10:18:05 +0800 Subject: [PATCH] update springboot 2.4.9 => 2.5.3 update hutool 5.7.5 => 5.7.6 update redisson 3.16.0 => 3.16.1 update datasource 3.4.0 => 3.4.1 --- ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java index 92d6ae2..026cc0a 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java @@ -1,7 +1,7 @@ package com.ruoyi.common.exception; +import cn.hutool.core.lang.Validator; import com.ruoyi.common.utils.MessageUtils; -import com.ruoyi.common.utils.StringUtils; /** * 鍩虹寮傚父 @@ -64,7 +64,7 @@ public String getMessage() { String message = null; - if (!StringUtils.isEmpty(code)) + if (!Validator.isEmpty(code)) { message = MessageUtils.message(code, args); } -- Gitblit v1.9.3