feat(douyu): 外部单协作 CK 复制统一账号密码格式

This commit is contained in:
yml2213
2026-10-23 10:32:29 +08:00
parent 84d7c8e0a4
commit 2c87deed78
5 changed files with 16 additions and 20 deletions
+1
View File
@@ -1885,6 +1885,7 @@ class DouyuCollabCkExportItemOut(BaseModel):
order_no: str = ""
account_id: int | None = None
account_username: str = ""
account_password: str = ""
account_nickname: str = ""
status: str = ""
status_label: str = ""
@@ -2057,6 +2057,7 @@ def export_cks(
"order_no": order.order_no,
"account_id": int(account.id),
"account_username": account.username or order.account_username or "",
"account_password": str(account.password or ""),
"account_nickname": account.nickname or order.account_nickname or "",
"status": order.status,
"status_label": ORDER_STATUS_LABELS.get(order.status, order.status),