From ffc7323ae85c274afed21d90e2cd744c2801a1a8 Mon Sep 17 00:00:00 2001 From: YUJT Date: Fri, 16 Jul 2021 18:02:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/elink/esua/epdc/commons/tools/utils/ModuleUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/utils/ModuleUtils.java b/epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/utils/ModuleUtils.java index c9f570e..6a6bac9 100644 --- a/epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/utils/ModuleUtils.java +++ b/epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/utils/ModuleUtils.java @@ -144,7 +144,7 @@ public class ModuleUtils { * @date 2021/7/16/0016 10:23 */ public static String hideMobile(String mobile) { - if (StringUtils.isNotBlank(mobile)) { + if (StringUtils.isBlank(mobile)) { return StringUtils.EMPTY; } return mobile.replaceAll("(\\d{3})\\d{4}(\\d{4})", "$1****$2");