From 19e60359301f0555a51dd04fb26f119faeaf4b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 23 Jul 2026 01:51:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(entity):=20=E5=88=A0=E9=99=A4=20CmsWeb?= =?UTF-8?q?site=20=E4=B8=AD=E7=9A=84=E6=89=8B=E6=9C=BA=E5=8F=B7=E8=84=B1?= =?UTF-8?q?=E6=95=8F=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除对 DesensitizedUtil 的导入 - 删除 getPhone 方法,简化实体类代码 - 保持日期和注解部分不变 --- src/main/java/com/gxwebsoft/cms/entity/CmsWebsite.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/gxwebsoft/cms/entity/CmsWebsite.java b/src/main/java/com/gxwebsoft/cms/entity/CmsWebsite.java index c5de71f..cb39415 100644 --- a/src/main/java/com/gxwebsoft/cms/entity/CmsWebsite.java +++ b/src/main/java/com/gxwebsoft/cms/entity/CmsWebsite.java @@ -1,6 +1,5 @@ package com.gxwebsoft.cms.entity; -import cn.hutool.core.util.DesensitizedUtil; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; @@ -385,8 +384,4 @@ public class CmsWebsite implements Serializable { @Schema(description = "审核操作时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date reviewTime; - - public String getPhone(){ - return DesensitizedUtil.mobilePhone(this.phone); - } }