We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e309e89 commit 651eeb8Copy full SHA for 651eeb8
apps/admin/views.py
@@ -58,7 +58,7 @@ async def update_config(data: dict):
58
return APIResponse()
59
60
61
-# 根据code获取文件
+# 根据id获取文件
62
async def get_file_by_id(id):
63
# 查询文件
64
file_code = await FileCodes.filter(id=id).first()
0 commit comments