refactor(project): remove useless getattr

This commit is contained in:
MingxuanGame
2025-10-04 06:43:55 +00:00
parent c6058eb0d8
commit ca7c74f709
9 changed files with 24 additions and 29 deletions

View File

@@ -72,7 +72,7 @@ COUNTRIES = json.loads((STATIC_DIR / "iso3166.json").read_text())
class UserBase(UTCBaseModel, SQLModel):
avatar_url: str = ""
avatar_url: str = "https://lazer-data.g0v0.top/default.jpg"
country_code: str = Field(default="CN", max_length=2, index=True)
# ? default_group: str|None
is_active: bool = True