✨ 新增回收站审计与八位取件码

This commit is contained in:
orion committed 2026-08-07 10:28:22 +08:00
1 parent c25c495657
commit 4ee06e2d29
15 files changed
+534 -132

No files matched your search

+1 -1
View File
@@ -238,7 +238,7 @@ async def get_code_file_by_code(
normalized_code = normalize_share_code(code)
if not normalized_code:
return False, "文件不存在"
file_code = await FileCodes.filter(code=normalized_code).first()
file_code = await FileCodes.filter(code=normalized_code, is_trashed=False).first()
if not file_code:
return False, "文件不存在"
if await file_code.is_expired() and check: