- Change task status from 'FAILED' to 'PROCESSING' when moderation fails - Maintain consistency with expected workflow behavior - Update logging to reflect correct status handling
@@ -189,7 +189,7 @@ public class VideoModerationServiceImpl extends ServiceImpl<SecondVideoTaskMappe
return false;
} else {
// 审核失败
- videoModerationTaskMapper.updateTaskStatus(task.getTaskId(), "FAILED");
+ videoModerationTaskMapper.updateTaskStatus(task.getTaskId(), "PROCESSING");
log.error("视频审核任务处理失败,任务ID: {},错误信息: {}", task.getTaskId(), response.getBody().getMessage());
}