diff --git a/backend/app/platform/keepalive.py b/backend/app/platform/keepalive.py index 8623fb6..dd56b2b 100644 --- a/backend/app/platform/keepalive.py +++ b/backend/app/platform/keepalive.py @@ -25,6 +25,8 @@ async def refresh_saved_session() -> None: except NqiError as exc: logger.info("登录续期未完成: %s", exc) return + if state.client is not client: + return state.user = refreshed await remember_account(refreshed, client.export_cookies())