Skip to content

Commit 68b6c78

Browse files
chore: update wallet data (#23)
1 parent 624a361 commit 68b6c78

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mhyy.py"
7-
version = "2.1.1"
7+
version = "2.1.2"
88
authors = [
99
{ name = "GuangChen2333", email = "guangchenworks@outlook.com" },
1010
]

src/mhyy/_wallet.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ class PlayCardData:
7070
msg (str): 畅玩卡信息
7171
short_msg (str): 畅玩卡短信息 / 状态
7272
play_card_limit (str): 未知
73+
remaining_sec (str): 未知
7374
"""
7475
expire: str
7576
msg: str
7677
short_msg: str
7778
play_card_limit: str
79+
remaining_sec: str
7880

7981

8082
@dataclass_json
@@ -89,12 +91,15 @@ class WalletData:
8991
status (StatusData): 未知。
9092
stat (StatData): 未知。
9193
play_card (PlayCardData): 畅玩卡数据。
94+
total_time (int): 总时长。
9295
"""
96+
9397
coin: CoinData
9498
free_time: FreeTimeData
9599
status: StatusData
96100
stat: StatData
97101
play_card: PlayCardData
102+
total_time: int
98103

99104
def is_sign_in(self) -> bool:
100105
"""

0 commit comments

Comments
 (0)