add(req-2080):创建文件夹---修改路径

This commit is contained in:
胡朝飞 2024-01-22 12:01:13 +08:00
parent 5343c1936d
commit 39c97d649b

View File

@ -663,9 +663,9 @@ public class FileServiceImpl implements FileService {
}
}
log.info("tempDirectory{}", tempDirectory);
if (!tempDirectory.exists()) {
if (tempDirectory.exists()) {
// 兜底
absolutePath = rootDir + fileName;
absolutePath = tempDirectory + SEPARATOR + fileName;
}
log.info("临时文件夹,{}", absolutePath);