更新 site.py

This commit is contained in:
jxxghp 2023-06-12 07:29:33 +08:00 committed by GitHub
parent 1a7e272cb1
commit 7345cd237e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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