feat: platform.db 模型与超管引导(WAL/scrypt/幂等bootstrap)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-13 07:57:15 +08:00
parent d088264ca0
commit 2d62108c73
5 changed files with 520 additions and 6 deletions
+2
View File
@@ -38,6 +38,8 @@ class Settings(BaseSettings):
PUSH_MAX_ATTEMPTS: int = 3
PUSH_RETRY_BACKOFF_BASE: float = 1.0 # 尝试间隔 1s/2s(3 次尝试、2 次间隔)
# Phase 2 超管引导(lifespan bootstrap,空表才建):初始密码须首登改掉
ADMIN_USERNAME: str = "admin"
ADMIN_PASSWORD: str = "admin123"
model_config = {