This commit is contained in:
张成
2026-02-28 10:38:28 +08:00
parent 1a011bcc01
commit dfd3119163
44 changed files with 449 additions and 13555 deletions

View File

@@ -439,9 +439,7 @@ return ctx.success({
return ctx.fail('任务不存在');
}
if (task.status !== 'failed') {
return ctx.fail('只能重试失败的任务');
}
await task_status.update({
status: 'pending',