修复获取 readme.md 文件时对用户基路径处理异常 bug

This commit is contained in:
zhaojun
2025-07-26 21:19:29 +08:00
parent d7d23ab3a8
commit 73025b0848
@@ -405,7 +405,7 @@ public class StorageSourceService {
ReadmeConfig readmeByPath = null;
if (verifyPassword.isPassed()) {
// 获取指定存储源路径下的 readme 信息
readmeByPath = readmeConfigService.getByStorageAndPath(storageId, fullPath, storageSource.getCompatibilityReadme());
readmeByPath = readmeConfigService.getByStorageAndPath(storageId, fileListConfigRequest.getPath(), storageSource.getCompatibilityReadme());
} else {
log.info("文件夹密码验证失败,不获取 readme 信息, storageId: {}, path: {}, password: {}", storageId, fullPath, fileListConfigRequest.getPassword());
}