上传记录信息优化

This commit is contained in:
2025-09-26 16:57:10 +08:00
parent 0a8ebe169c
commit 85a674eeca
@@ -170,6 +170,8 @@ class UploadController
'original_name' => $file->getUploadName(),
];
$partition = !empty($partition)?$partition:'other';
$category = !empty($category)?$category:'other';
$recordResult = $uploadedFilesService->recordFileInfo($fileInfo, $request, $partition, $category);
$data = [];
$data['file_id'] = $recordResult['id'];