From f74454b61a8f0050b1cdcfbf0c46b7c572c46e81 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 5 Dec 2023 10:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=AE=9E=E4=BE=8B=E6=BC=94=E7=A4=BA=E5=BC=80=E5=85=B3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application.yml | 2 -- .../java/com/ruoyi/common/config/RuoYiConfig.java | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 4d681515..d1096f13 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -6,8 +6,6 @@ ruoyi: version: 3.8.6 # 版权年份 copyrightYear: 2023 - # 实例演示开关 - demoEnabled: true # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) profile: D:/ruoyi/uploadPath # 获取ip地址开关 diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/config/RuoYiConfig.java b/ruoyi-common/src/main/java/com/ruoyi/common/config/RuoYiConfig.java index 84c0029d..eac3da15 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/config/RuoYiConfig.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/config/RuoYiConfig.java @@ -21,9 +21,6 @@ public class RuoYiConfig /** 版权年份 */ private String copyrightYear; - /** 实例演示开关 */ - private boolean demoEnabled; - /** 上传路径 */ private static String profile; @@ -63,16 +60,6 @@ public class RuoYiConfig this.copyrightYear = copyrightYear; } - public boolean isDemoEnabled() - { - return demoEnabled; - } - - public void setDemoEnabled(boolean demoEnabled) - { - this.demoEnabled = demoEnabled; - } - public static String getProfile() { return profile;