fix: 修复动态路由问题

This commit is contained in:
2025-02-21 02:25:01 +08:00
parent 6a6b2b0827
commit d5e0f9d5ac
6 changed files with 29 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ async def upload_file(
file_type=file.content_type,
absolute_path=absolute_path,
relative_path=relative_path,
uploader=current_user.get("id"),
uploader_id=current_user.get("id"),
)
result = await file_record.first().values(
id="id",