mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
🐛 修复本地存储, 填写 Windows 盘符, 无法正常识别的 BUG
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user