更新 site.py
This commit is contained in:
parent
1a7e272cb1
commit
7345cd237e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user