From 5fe2473ba0e9f374da27e919fdce09b0915f5e51 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 31 十月 2022 20:21:56 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/helper/PathHelper.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/lf/server/helper/PathHelper.java b/src/main/java/com/lf/server/helper/PathHelper.java index edf6839..c1cf9e0 100644 --- a/src/main/java/com/lf/server/helper/PathHelper.java +++ b/src/main/java/com/lf/server/helper/PathHelper.java @@ -19,7 +19,7 @@ @Autowired private PropertiesConfig config; - private static int importPath = 1; + private static int downloadPath = 1; private static int exportPath = 1; @@ -35,8 +35,8 @@ return config; } - public static int getImportPath() { - return importPath; + public static int getDownloadPath() { + return downloadPath; } public static int getExportPath() { @@ -55,7 +55,7 @@ * 鍒濆鍖� */ public void init() { - importPath = getSubPath(config.getImportPath(), importPath); + downloadPath = getSubPath(config.getDownloadPath(), downloadPath); exportPath = getSubPath(config.getExportPath(), exportPath); uploadPath = getSubPath(config.getUploadPath(), uploadPath); sharePath = getSubPath(config.getSharePath(), sharePath); @@ -84,9 +84,9 @@ * 鑾峰彇瀵煎叆鐩綍 */ public String getImportFullPath() { - importPath = getSubPath(config.getImportPath(), importPath); + downloadPath = getSubPath(config.getDownloadPath(), downloadPath); - return config.getImportPath() + File.separator + importPath; + return config.getDownloadPath() + File.separator + downloadPath; } /** -- Gitblit v1.9.3