fix: 恢复退款原审批提交
All checks were successful
构建并部署前端到测试环境 / deploy (push) Successful in 55s

This commit is contained in:
luo
2026-09-20 18:13:14 +08:00
parent ffba959d45
commit c5d7a260d0
8 changed files with 400 additions and 4 deletions

View File

@@ -83,4 +83,15 @@ export class RefundService extends BaseService {
static triggerApproval(id: number): Promise<BaseResponse<Refund>> {
return this.post<BaseResponse<Refund>>(`/api/admin/refunds/${id}/trigger-approval`)
}
}
/**
* 恢复退款原审批提交
*
* 后端负责同步已有审批单、确认未知提交结果或恢复明确失败的原提交事件。
* 此操作不接收审批实例 ID、审批材料或企业微信单号,也不会创建新的审批尝试。
* @param id 退款申请ID
*/
static recoverApproval(id: number): Promise<BaseResponse<Refund>> {
return this.post<BaseResponse<Refund>>(`/api/admin/refunds/${id}/recover-approval`)
}
}