This commit is contained in:
Luke.Ye 2025-08-01 23:50:28 +08:00
parent 49e175c0a1
commit b0c5fa0f75

View File

@ -144,7 +144,7 @@ public class FileWriteController {
// file字段在主线程停止后会自动删除因此需要先转出来 // file字段在主线程停止后会自动删除因此需要先转出来
byte[] fileBytes = file.getBytes(); byte[] fileBytes = file.getBytes();
logger.info("[FileWriteController#uploadFolderToOS] 已上传至对象存储: {}", originalName); logger.info("[uploadFolderToOS] 已上传至对象存储: {}", originalName);
ThreadPoolUtil.execute(() -> ThreadPoolUtil.execute(() ->
handleAsyncRecord(finalToken, bucket, originFileNameWithSuffix, suffix, s3FullPath, finalUrl, fileBytes, searchable) handleAsyncRecord(finalToken, bucket, originFileNameWithSuffix, suffix, s3FullPath, finalUrl, fileBytes, searchable)
); );