mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix: 修复站点用户数据转换并完善媒体来源扩展
This commit is contained in:
@@ -124,6 +124,9 @@ class SiteUserData(BaseModel):
|
||||
# 更新时间
|
||||
updated_time: Optional[str] = None
|
||||
|
||||
# 查询仓储返回 SQLAlchemy ORM 对象时,从对象属性读取字段。
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
|
||||
class SiteAuth(BaseModel):
|
||||
"""站点认证模块及其参数。"""
|
||||
|
||||
Reference in New Issue
Block a user