feat(weibo): 支持超级管理员强制恢复作废订单
This commit is contained in:
@@ -869,6 +869,8 @@ class WeiboCollabStatusRequest(BaseModel):
|
||||
status: str = Field(..., min_length=1, max_length=20)
|
||||
reason: str = Field("", max_length=256)
|
||||
rollback: bool = False
|
||||
# 仅超级管理员可用:从「已作废」强制恢复,必须同时填写 reason。
|
||||
force: bool = False
|
||||
expected_version: int | None = None
|
||||
|
||||
|
||||
@@ -877,6 +879,8 @@ class WeiboCollabStatusBatchRequest(BaseModel):
|
||||
status: str = Field(..., min_length=1, max_length=20)
|
||||
reason: str = Field("", max_length=256)
|
||||
rollback: bool = False
|
||||
# 仅超级管理员可用;混合批次里只对 void 行生效,必须同时填写 reason。
|
||||
force: bool = False
|
||||
|
||||
|
||||
class WeiboCollabCkExportRequest(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user