From 651eeb841d521ba445ff49880cb6e915dd5a8793 Mon Sep 17 00:00:00 2001 From: Yanlongli Date: Fri, 29 Mar 2024 17:59:58 +0800 Subject: [PATCH] =?UTF-8?q?annotation:=20=E4=BF=AE=E6=94=B9=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin/views.py b/apps/admin/views.py index 1455d9f..ddb604e 100644 --- a/apps/admin/views.py +++ b/apps/admin/views.py @@ -58,7 +58,7 @@ async def update_config(data: dict): return APIResponse() -# 根据code获取文件 +# 根据id获取文件 async def get_file_by_id(id): # 查询文件 file_code = await FileCodes.filter(id=id).first()