🐛 修复本地存储, 填写 Windows 盘符, 无法正常识别的 BUG

This commit is contained in:
zhaojun1998
2020-06-25 17:52:33 +08:00
parent ac4cef0980
commit 17a87648fa

View File

@@ -69,7 +69,7 @@ public class LocalServiceImpl extends AbstractBaseFileService implements BaseFil
public List<FileItemDTO> fileList(String path) throws FileNotFoundException {
List<FileItemDTO> fileItemList = new ArrayList<>();
String fullPath = StringUtils.concatPath(filePath, path);
String fullPath = StringUtils.removeDuplicateSeparator(filePath + path);
File file = new File(fullPath);