feat(huya): 增加兑换记录结果图

This commit is contained in:
yml
2026-11-13 21:32:34 +08:00
parent 8ba947e60f
commit 7f49bc8579
4 changed files with 204 additions and 22 deletions
+11
View File
@@ -336,6 +336,17 @@ class GoodsMixin:
result["sid"] = sid_int
result["sid_source"] = sid_source
result["configured_sid"] = configured_sid
result["account_snapshot"] = {
"nickname": (
getattr(account, "nickname", "")
or getattr(task, "account_nickname", "")
or ""
),
"uid": str(getattr(account, "uid", "") or account_info.get("uid") or uid),
"game_name": getattr(account, "game_name", "") or "",
"game_channel": getattr(account, "game_channel", "") or "",
"game_phone": getattr(account, "game_phone", "") or "",
}
if response.status != 200:
self._mark_task(
worker_db,