首个可运行的版本

This commit is contained in:
2026-06-12 23:14:12 +08:00
commit b3d90c65f8
86 changed files with 4808 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""通用工具函数"""
import uuid
from datetime import datetime, timezone
def generate_uuid() -> str:
"""生成 UUID"""
return str(uuid.uuid4())
def now_utc() -> datetime:
"""获取当前 UTC 时间"""
return datetime.now(timezone.utc)