优化(斗鱼预售台账): 统一命名并同步客户主页图

同步履约客户游戏主页截图,兼容 order_site 绝对 URL 与 objectKey;统一预售台账用户可见文案和保护标签;移除 CK 检测与重登前端页面入口。
This commit is contained in:
yml
2026-11-26 19:11:30 +08:00
parent 7a20c63464
commit 82e1944a33
44 changed files with 204 additions and 428 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
"""斗鱼外部单协作的账号凭据与用户名导出。"""
"""斗鱼预售台账的账号凭据与用户名导出。"""
from __future__ import annotations
@@ -28,9 +28,9 @@ def export_cks(
*,
commit: bool = True,
) -> dict[str, Any]:
"""导出协作单关联内部账号的 **CK 明文**(前端写剪贴板用)。
"""导出预售单关联内部账号的 **CK 明文**(前端写剪贴板用)。
斗鱼协作单本身不存 CK,导出的始终是关联 ``accounts.cookie`` 的实时值。
斗鱼预售单本身不存 CK,导出的始终是关联 ``accounts.cookie`` 的实时值。
和虎牙台账保持同一口径:
1. 需要独立权限点 ``douyu:collab:ck_export``;
@@ -59,7 +59,7 @@ def export_cks(
{
"id": order_id,
"order_no": "",
"reason": "协作单不存在或已删除",
"reason": "预售单不存在或已删除",
}
)
continue
@@ -151,7 +151,7 @@ def export_usernames(
{
"id": order_id,
"order_no": "",
"reason": "协作单不存在或已删除",
"reason": "预售单不存在或已删除",
}
)
continue