refactor: 清理后端冗余代码和未用依赖

This commit is contained in:
2026-05-19 15:46:31 +08:00
parent d30dd0da25
commit 3240027d48
11 changed files with 32 additions and 111 deletions
-2
View File
@@ -4,7 +4,6 @@ import hashlib
import hmac
import json
import time
from pathlib import Path
from typing import Optional
from app.config import BASE_DIR
@@ -81,4 +80,3 @@ def _sign(header: str, payload: str) -> str:
hashlib.sha256,
).digest()
return base64.urlsafe_b64encode(raw).decode().rstrip("=")