From 1a474fdc24084515c7c4d3bfbc0badc255b7dc4a Mon Sep 17 00:00:00 2001 From: lan Date: Mon, 6 May 2024 11:04:05 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"annotation:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E9=94=99=E8=AF=AF"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 651eeb841d521ba445ff49880cb6e915dd5a8793. --- backend/apps/admin/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()