From 2e71bd5a973c42f0d6af8100652ac6b439daa9a4 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 27 九月 2024 16:07:27 +0800 Subject: [PATCH] 修改上级菜单ID字段类型 --- src/main/java/com/ruoyi/framework/config/RuoYiConfig.java | 21 ++++++++------------- 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/ruoyi/framework/config/RuoYiConfig.java b/src/main/java/com/ruoyi/framework/config/RuoYiConfig.java index 1f6e20a..0c3d20c 100644 --- a/src/main/java/com/ruoyi/framework/config/RuoYiConfig.java +++ b/src/main/java/com/ruoyi/framework/config/RuoYiConfig.java @@ -21,9 +21,6 @@ /** 鐗堟潈骞翠唤 */ private String copyrightYear; - /** 瀹炰緥婕旂ず寮�鍏� */ - private boolean demoEnabled; - /** 涓婁紶璺緞 */ private static String profile; @@ -60,16 +57,6 @@ this.copyrightYear = copyrightYear; } - public boolean isDemoEnabled() - { - return demoEnabled; - } - - public void setDemoEnabled(boolean demoEnabled) - { - this.demoEnabled = demoEnabled; - } - public static String getProfile() { return profile; @@ -91,6 +78,14 @@ } /** + * 鑾峰彇瀵煎叆涓婁紶璺緞 + */ + public static String getImportPath() + { + return getProfile() + "/import"; + } + + /** * 鑾峰彇澶村儚涓婁紶璺緞 */ public static String getAvatarPath() -- Gitblit v1.9.3