feat(huya): 统一实时商品目录并增加兑换代理开关
This commit is contained in:
@@ -494,25 +494,6 @@ class HuyaHttpClient:
|
||||
timeout=timeout,
|
||||
)
|
||||
|
||||
def get_act_prize_list(
|
||||
self, uid: int, cookie: str, sid: int, timeout: float = 15.0
|
||||
):
|
||||
"""查询活动可兑换商品列表。"""
|
||||
from .activity_structs import GetActPrizeListReq, GetActPrizeListResp
|
||||
|
||||
req = GetActPrizeListReq()
|
||||
req.userId = self._build_activity_user(uid, cookie)
|
||||
req.sid = sid
|
||||
return self.call_rpc(
|
||||
"webActUI",
|
||||
"getActPrizeList",
|
||||
req,
|
||||
GetActPrizeListResp,
|
||||
uid=uid,
|
||||
cookie=cookie,
|
||||
timeout=timeout,
|
||||
)
|
||||
|
||||
def get_user_prize_records(
|
||||
self, uid: int, cookie: str, sid: int, timeout: float = 15.0
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user