From 886ce995aff3f14368661edf9f59fccdcb3bb2a4 Mon Sep 17 00:00:00 2001 From: wugh <328043740@qq.com> Date: 星期一, 21 十二月 2020 11:58:15 +0800 Subject: [PATCH] [bug修复] 解决get请求,如果参数值为false或0等特殊值会导致无法正确传参 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysMenu.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysMenu.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysMenu.java index b8ad1f3..7c35744 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysMenu.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysMenu.java @@ -41,6 +41,9 @@ /** 鏄惁涓哄閾撅紙0鏄� 1鍚︼級 */ private String isFrame; + /** 鏄惁缂撳瓨锛�0缂撳瓨 1涓嶇紦瀛橈級 */ + private String isCache; + /** 绫诲瀷锛圡鐩綍 C鑿滃崟 F鎸夐挳锛� */ private String menuType; @@ -144,6 +147,16 @@ this.isFrame = isFrame; } + public String getIsCache() + { + return isCache; + } + + public void setIsCache(String isCache) + { + this.isCache = isCache; + } + @NotBlank(message = "鑿滃崟绫诲瀷涓嶈兘涓虹┖") public String getMenuType() { @@ -216,6 +229,7 @@ .append("path", getPath()) .append("component", getComponent()) .append("isFrame", getIsFrame()) + .append("IsCache", getIsCache()) .append("menuType", getMenuType()) .append("visible", getVisible()) .append("status ", getStatus()) -- Gitblit v1.9.3