feat(huya): 增加兑换记录结果图
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user