feat(themoviedb): 添加对 ConfigChanged 事件的监听支持

- 调整 username 字段类型以兼容整数形式
This commit is contained in:
Attente
2025-11-26 20:58:58 +08:00
parent d0b665f773
commit eb2b34d71c
3 changed files with 26 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ class Notification(BaseModel):
# 用户ID
userid: Optional[Union[str, int]] = None
# 用户名称
username: Optional[str] = None
username: Optional[Union[str, int]] = None
# 时间
date: Optional[str] = None
# 消息方向