mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-21 22:47:13 +08:00
1 parent
686125e369
commit
956cea4be9
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user