fix: some error

This commit is contained in:
Lan
2025-12-01 11:30:52 +08:00
parent d96fa6ecc8
commit 4f10c0800b
7 changed files with 39 additions and 25 deletions
+1 -3
View File
@@ -46,9 +46,7 @@ async def get_select_token(code: str):
:return:
"""
token = settings.admin_token
return hashlib.sha256(
f"{code}{int(time.time() / 1000)}000{token}".encode()
).hexdigest()
return hashlib.sha256(f"{code}{int(time.time() / 1000)}000{token}".encode()).hexdigest()
async def get_file_url(code: str):