From 48a0c64057bb04cd12db17caf1ef4de9c35d12f4 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 19 十二月 2021 19:47:19 +0800 Subject: [PATCH] 升级log4j2到安全版本,防止漏洞风险 --- src/main/java/com/ruoyi/framework/web/page/PageDomain.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/framework/web/page/PageDomain.java b/src/main/java/com/ruoyi/framework/web/page/PageDomain.java index 366f9b1..af24e6a 100644 --- a/src/main/java/com/ruoyi/framework/web/page/PageDomain.java +++ b/src/main/java/com/ruoyi/framework/web/page/PageDomain.java @@ -21,6 +21,9 @@ /** 鎺掑簭鐨勬柟鍚慸esc鎴栬�卆sc */ private String isAsc = "asc"; + /** 鍒嗛〉鍙傛暟鍚堢悊鍖� */ + private Boolean reasonable = true; + public String getOrderBy() { if (StringUtils.isEmpty(orderByColumn)) @@ -81,4 +84,18 @@ this.isAsc = isAsc; } } + + public Boolean getReasonable() + { + if (StringUtils.isNull(reasonable)) + { + return Boolean.TRUE; + } + return reasonable; + } + + public void setReasonable(Boolean reasonable) + { + this.reasonable = reasonable; + } } -- Gitblit v1.9.3