Skip to content

Commit

Permalink
chore: update wallet data (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangChen2333 authored Sep 15, 2024
1 parent 624a361 commit 68b6c78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mhyy.py"
version = "2.1.1"
version = "2.1.2"
authors = [
{ name = "GuangChen2333", email = "[email protected]" },
]
Expand Down
5 changes: 5 additions & 0 deletions src/mhyy/_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ class PlayCardData:
msg (str): 畅玩卡信息
short_msg (str): 畅玩卡短信息 / 状态
play_card_limit (str): 未知
remaining_sec (str): 未知
"""
expire: str
msg: str
short_msg: str
play_card_limit: str
remaining_sec: str


@dataclass_json
Expand All @@ -89,12 +91,15 @@ class WalletData:
status (StatusData): 未知。
stat (StatData): 未知。
play_card (PlayCardData): 畅玩卡数据。
total_time (int): 总时长。
"""

coin: CoinData
free_time: FreeTimeData
status: StatusData
stat: StatData
play_card: PlayCardData
total_time: int

def is_sign_in(self) -> bool:
"""
Expand Down

0 comments on commit 68b6c78

Please sign in to comment.