fix: 修复文档转换与预览链路中的图片、文件名和错误处理问题

This commit is contained in:
2026-04-24 10:40:29 +08:00
parent 37dd58eff0
commit e935afddfe
16 changed files with 451 additions and 69 deletions

View File

@@ -79,6 +79,7 @@ class DocumentResource extends Resource
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
]))
->maxSize(51200) // 50MB
->storeFileNamesIn('file_name')
->disk('local')
->directory('documents/' . date('Y/m/d'))
->visibility('private')