From 79bf332c53b5723ddc086e4033d1f6ae168436dd Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 04 八月 2021 19:11:39 +0800 Subject: [PATCH] remove 移除通用上传下载接口与配置 --- ruoyi-common/src/main/java/com/ruoyi/common/config/RuoYiConfig.java | 34 +--------------------------------- 1 files changed, 1 insertions(+), 33 deletions(-) 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 682bebd..408295a 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 @@ -9,7 +9,7 @@ /** * 璇诲彇椤圭洰鐩稿叧閰嶇疆 - * + * * @author ruoyi */ @@ -32,45 +32,13 @@ /** 瀹炰緥婕旂ず寮�鍏� */ private boolean demoEnabled; - /** 涓婁紶璺緞 */ - @Getter - private static String profile; - /** 鑾峰彇鍦板潃寮�鍏� */ @Getter private static boolean addressEnabled; - - public void setProfile(String profile) - { - RuoYiConfig.profile = profile; - } public void setAddressEnabled(boolean addressEnabled) { RuoYiConfig.addressEnabled = addressEnabled; } - /** - * 鑾峰彇澶村儚涓婁紶璺緞 - */ - public static String getAvatarPath() - { - return getProfile() + "/avatar"; - } - - /** - * 鑾峰彇涓嬭浇璺緞 - */ - public static String getDownloadPath() - { - return getProfile() + "/download/"; - } - - /** - * 鑾峰彇涓婁紶璺緞 - */ - public static String getUploadPath() - { - return getProfile() + "/upload"; - } } -- Gitblit v1.9.3