perf(account-check): 优化账号检测首屏加载

This commit is contained in:
yml
2026-11-22 17:05:10 +08:00
parent 7233bdfa50
commit 22e106bf9b
9 changed files with 421 additions and 150 deletions
+16
View File
@@ -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)