修复不能正常显示用户名的问题,新增状态字段

This commit is contained in:
zayac 2024-03-26 16:34:05 +08:00
parent 1ad5ae06d6
commit 1c572c6d30

View File

@ -31,6 +31,7 @@ class BaseMember:
vipGradeStr: str
firstPayAt: str
remark: str
status: int
@dataclass
@ -74,7 +75,8 @@ def get_today_new_member_list(account: Account, count: int) -> List[MemberList]:
"firstPayStartTime": "",
"firstPayEndTime": "",
"isBet": "",
"tagsFlag": "1"
"tagsFlag": "1",
"status": -1
}
members = get_member_list(account=account, params=params)
return members
@ -105,7 +107,8 @@ def get_member_by_name(account: Account, name: str) -> MemberDetail:
"firstPayStartTime": "",
"firstPayEndTime": "",
"isBet": "",
"tagsFlag": "1"
"tagsFlag": "1",
"status": -1
}
member = get_member_list(account, params)[0]
params = {
@ -135,7 +138,8 @@ async def async_get_member_detail_by_name(account: Account, name: str) -> Member
"firstPayStartTime": "",
"firstPayEndTime": "",
"isBet": "",
"tagsFlag": "1"
"tagsFlag": "1",
"status": -1
}
member_list = await async_get_member_list(account, params)
member = member_list[0]