Cookie 管理优化

This commit is contained in:
yml2213
2026-06-22 16:36:23 +08:00
parent 48b6a1623b
commit 480dfa6085
2 changed files with 81 additions and 12 deletions
+2
View File
@@ -37,6 +37,8 @@ def list_cookies(
"batch_id": t.batch_id,
"account_id": t.account_id,
"account_username": acc.username if acc else "",
"assigned_to": acc.assigned_to,
"assigned_username": acc.assigned_user.username if acc and acc.assigned_user else None,
"created_at": t.finished_at.isoformat() if t.finished_at else None,
}
# 只有有 cookie:view 权限才返回 cookie 内容