diff --git a/pom.xml b/pom.xml index f543e1cb..f7280e97 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ UTF-8 1.8 3.1.1 - 1.2.11 + 1.2.14 1.21 3.0.0 2.3.2 diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java index b3dee628..67269ff6 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java @@ -6,6 +6,7 @@ import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; /** * Entity基类 @@ -38,7 +39,7 @@ public class BaseEntity implements Serializable private String remark; /** 请求参数 */ - @JsonIgnore + @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map params; public String getSearchValue()