feat(fulfillment): 实时刷新斗鱼账号并支持租约时长设置
This commit is contained in:
@@ -206,6 +206,7 @@ def query_exchange_orders(
|
||||
class DouyuEligibilityResult:
|
||||
elite_user_info: dict[str, Any]
|
||||
points: int
|
||||
points_response: dict[str, Any]
|
||||
limited_goods: list[dict[str, Any]]
|
||||
limited_ids: frozenset[str]
|
||||
|
||||
@@ -232,6 +233,7 @@ def query_exchange_eligibility(
|
||||
return DouyuEligibilityResult(
|
||||
elite_user_info=elite,
|
||||
points=int(points_result.get("points") or 0),
|
||||
points_response=points_result,
|
||||
limited_goods=limited,
|
||||
limited_ids=frozenset(limited_ids),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user