更新 site.py

This commit is contained in:
jxxghp
2023-06-12 07:29:33 +08:00
committed by GitHub
parent 1a7e272cb1
commit 7345cd237e

View File

@ -19,7 +19,7 @@ class Site(BaseModel):
limit_interval: Optional[int] = 0
limit_count: Optional[int] = 0
limit_seconds: Optional[int] = 0
is_active: Optional[str] = 'N'
is_active: Optional[bool] = True
class Config:
orm_mode = True