保存现有功能 增加域名和添加时间关联

This commit is contained in:
huangzhenpc
2025-04-07 15:26:55 +08:00
parent 92f7c0f3e0
commit 8fc5a04903
3 changed files with 9 additions and 5 deletions

View File

@@ -300,11 +300,11 @@ class AutoCursorService:
for account in accounts:
upload_item = {
"email": account["email"],
"email_password": account["password"], # 使用password作为email_password
"email_password": account.get("password", ""), # 使用account的password字段作为email_password
"cursor_email": account["email"],
"cursor_password": account["cursor_password"],
"cookie": account["cursor_cookie"] or "",
"token": account.get("cursor_jwt", ""), # 使用cursor_jwt作为token
"cookie": account.get("cursor_cookie", "") or "",
"token": account.get("cursor_jwt", ""),
"hostname": self.hostname
}
upload_data.append(upload_item)