feat(weibo): 支持超级管理员强制恢复作废订单
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user