From d74aa4efa29e5643a260694387678917591b62b1 Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Wed, 18 Sep 2024 15:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9E=8B=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/platform/utils/DVCUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/DVCUtils.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/DVCUtils.java index 785efee..8051eca 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/DVCUtils.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/DVCUtils.java @@ -581,7 +581,7 @@ public class DVCUtils { //刷新 refreshRemoteBranches(localPath+"/"+repoFolder, username, password,branch); // 读取data文件夹中的文件列表 - String path = localPath + "\\" + repoFolder + "\\" + filePath; + String path = localPath + "/" + repoFolder + "/" + filePath; Path dataPath = Paths.get(path); File[] files = dataPath.toFile().listFiles();