feat: 保留 DramaBox 登录,只有手动退出才清除

This commit is contained in:
Nixevol
2026-10-22 19:21:05 +08:00
parent 00e78661a7
commit 241762451c
10 changed files with 330 additions and 49 deletions
+5
View File
@@ -85,6 +85,11 @@ def login_account(body: AccountBody):
return call(lambda: db_login.apply_account(body.language, body.user))
@router.post("/resume")
def resume():
return call(db_login.resume)
@router.post("/me")
def me(body: TokenBody):
return call(lambda: db_login.current(body.token))