代码优化
This commit is contained in:
parent
192c0d2141
commit
fa08c1372d
|
|
@ -17,7 +17,7 @@ class AccountObtain(BaseModel):
|
||||||
class AccountUpdate(BaseModel):
|
class AccountUpdate(BaseModel):
|
||||||
account_id: str = Field(..., description="账号ID")
|
account_id: str = Field(..., description="账号ID")
|
||||||
app_name: str = Field(..., description="应用名称")
|
app_name: str = Field(..., description="应用名称")
|
||||||
status: int = Field(..., ge=1, le=10, description="状态:1-空闲,2-使用中,3-暂停使用(后续还能使用),4-账号已无法使用")
|
status: int = Field(..., description="状态:1-空闲,2-使用中,3-暂停使用(后续还能使用),4-账号已无法使用")
|
||||||
|
|
||||||
|
|
||||||
class GoodsInfo(BaseModel):
|
class GoodsInfo(BaseModel):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue