diff --git a/model/model.py b/model/model.py index 27a1be8..074235e 100644 --- a/model/model.py +++ b/model/model.py @@ -14,7 +14,7 @@ class AccountCreate(BaseModel): class AccountUpdate(BaseModel): account_id: str = Field(..., description="账号ID") app_name: str = Field(..., min_length=1, max_length=128, description="应用名称") - status: int = Field(..., ge=1, le=3, description="状态:1-空闲,2-使用中,3-暂停使用") + status: int = Field(..., ge=1, le=10, description="状态:1-空闲,2-使用中,3-暂停使用(后续还能使用),4-账号已无法使用") class CrawlerTask(BaseModel):