mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-21 21:58:05 +00:00
🐛 Fix bbs FullUser
This commit is contained in:
parent
ad505c857e
commit
420b1da340
@ -131,6 +131,7 @@ class PartialUser(APIModel):
|
|||||||
nickname (str): The user's nickname.
|
nickname (str): The user's nickname.
|
||||||
introduction (str): The user's introduction.
|
introduction (str): The user's introduction.
|
||||||
avatar_id (int): The user's avatar ID.
|
avatar_id (int): The user's avatar ID.
|
||||||
|
avatar_url (str): The user's avatar URL.
|
||||||
gender (Gender): The user's gender.
|
gender (Gender): The user's gender.
|
||||||
icon (str): The user's avatar URL.
|
icon (str): The user's avatar URL.
|
||||||
"""
|
"""
|
||||||
@ -138,7 +139,8 @@ class PartialUser(APIModel):
|
|||||||
accident_id: int = Field(alias="uid")
|
accident_id: int = Field(alias="uid")
|
||||||
nickname: str
|
nickname: str
|
||||||
introduction: str = Field(alias="introduce")
|
introduction: str = Field(alias="introduce")
|
||||||
avatar_id: int = Field(alias="avatar")
|
avatar_id: Optional[str] = Field(alias="avatar")
|
||||||
|
avatar_url: Optional[str] = ""
|
||||||
gender: Gender
|
gender: Gender
|
||||||
icon: str = Field(alias="avatar_url")
|
icon: str = Field(alias="avatar_url")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user