diff --git a/backend/apps/admin/views.py b/backend/apps/admin/views.py index ddb604e..1455d9f 100644 --- a/backend/apps/admin/views.py +++ b/backend/apps/admin/views.py @@ -58,7 +58,7 @@ async def update_config(data: dict): return APIResponse() -# 根据id获取文件 +# 根据code获取文件 async def get_file_by_id(id): # 查询文件 file_code = await FileCodes.filter(id=id).first()