perf(account-check): 优化账号检测首屏加载
This commit is contained in:
@@ -1630,6 +1630,22 @@ class DouyuSupplyTargetOut(BaseModel):
|
||||
updated_at: datetime | None = None
|
||||
|
||||
|
||||
class DouyuSupplyTargetConfigOut(BaseModel):
|
||||
id: int
|
||||
target_id: int
|
||||
platform: str
|
||||
scope: str
|
||||
commodity_id: str
|
||||
value_class: str
|
||||
target_covered: int
|
||||
target_available: int
|
||||
target_allocatable: int
|
||||
safety_buffer: int
|
||||
enabled: bool
|
||||
updated_by: int | None = None
|
||||
updated_at: datetime | None = None
|
||||
|
||||
|
||||
class DouyuAccountProtectionTargetUpdate(BaseModel):
|
||||
enabled: bool = True
|
||||
target_count: int = Field(0, ge=0, le=100_000)
|
||||
|
||||
Reference in New Issue
Block a user