feat(fulfillment): 接收并展示 order_site 客户主页截图
- 履约任务新增客户角色/平台/系统/主页截图/更新时间字段 - 迁移 0131 - order_site contractVersion=3 快照自动落客户资料 - 增加客户资料 integration 写入接口 - 工作台详情展示客户资料、平台角色比对和截图 - 补充客户资料保存/快照解析测试与对接文档
This commit is contained in:
@@ -1762,6 +1762,21 @@ class PlatformFulfillmentCustomerSessionRequest(BaseModel):
|
||||
platform_order_id: str = Field(default="", max_length=255)
|
||||
|
||||
|
||||
class PlatformFulfillmentCustomerImage(BaseModel):
|
||||
url: str = Field(..., min_length=1, max_length=2048)
|
||||
thumbnail_url: str = Field("", max_length=2048)
|
||||
object_key: str = Field("", max_length=512)
|
||||
|
||||
|
||||
class PlatformFulfillmentCustomerProfileRequest(BaseModel):
|
||||
customer_role_name: str = Field(..., min_length=1, max_length=128)
|
||||
platform: str = Field(..., pattern="^(wechat|qq)$")
|
||||
system: str = Field(..., pattern="^(ios|android)$")
|
||||
home_images: list[PlatformFulfillmentCustomerImage] = Field(
|
||||
..., min_length=1, max_length=5
|
||||
)
|
||||
|
||||
|
||||
class PlatformFulfillmentCustomerBindingAction(BaseModel):
|
||||
force_refresh: bool = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user