feat(weibo): 支持超级管理员强制恢复作废订单

This commit is contained in:
yml
2026-11-18 14:30:02 +08:00
parent 8f1b0e28bb
commit 96fa9c7086
6 changed files with 330 additions and 19 deletions
+4
View File
@@ -373,6 +373,8 @@ export const weiboCollabApi = {
status: WeiboCollabStatus;
reason?: string;
rollback?: boolean;
/** 仅超级管理员:从「已作废」强制恢复,必须填写 reason */
force?: boolean;
expected_version?: number;
},
) =>
@@ -385,6 +387,8 @@ export const weiboCollabApi = {
status: WeiboCollabStatus;
reason?: string;
rollback?: boolean;
/** 仅超级管理员:批次里的 void 行强制恢复,必须填写 reason */
force?: boolean;
}) => api.post('/weibo/external-orders/status/batch', data),
verifyBatch: (ids: number[]) =>
api.post<WeiboCollabVerifyBatchResult, WeiboCollabVerifyBatchResult>(