feat(fulfillment): 新增直播账号履约工作台
This commit is contained in:
@@ -1560,6 +1560,22 @@ class DouyuConfigUpdate(BaseModel):
|
||||
skin_id: str | None = None
|
||||
|
||||
|
||||
class PlatformFulfillmentMappingUpsert(BaseModel):
|
||||
internal_sku_key: str = Field(..., min_length=1, max_length=255)
|
||||
commodity_id: str = Field(..., min_length=1, max_length=64)
|
||||
goods_name: str = Field(default="", max_length=255)
|
||||
required_points: int | None = Field(default=None, ge=0)
|
||||
enabled: bool = True
|
||||
|
||||
|
||||
class PlatformFulfillmentReasonRequest(BaseModel):
|
||||
reason: str = Field(default="", max_length=2000)
|
||||
|
||||
|
||||
class PlatformFulfillmentCompleteRequest(BaseModel):
|
||||
note: str = Field(default="", max_length=1000)
|
||||
|
||||
|
||||
class DouyuTaskBatchRequest(BaseModel):
|
||||
account_ids: list[int]
|
||||
task_type: str
|
||||
|
||||
Reference in New Issue
Block a user