feat(huya): 协作台账支持待补资料一键建单与表单暂存

This commit is contained in:
yml2213
2026-10-17 14:21:36 +08:00
parent cad06ae789
commit fcc2fbdc09
8 changed files with 401 additions and 50 deletions
+4
View File
@@ -1170,11 +1170,15 @@ class HuyaExternalOrderCreate(BaseModel):
``require_verified``(默认开):人工新建表单的严格模式 —— 订单编号 / 店铺 / CK /
礼包名 / **主页截图**必填,且 CK 必须探针通并读到绑定角色;粘贴导入不走这条路。
``draft``(默认关):先建单后补资料 —— 只登记订单号 + 店铺,状态进「待补资料」,
CK / 礼包名 / 主页截图都可以稍后在详情里补(2026-10-17 用户需求)。
"""
order_no: str = Field(..., min_length=1, max_length=64)
shop: str = Field("", max_length=64)
require_verified: bool = True
draft: bool = False
owner_id: int | None = None
ck_text: str = ""
bind_douyu_account: str = Field("", max_length=128)