info('开始检查图片生成任务状态...'); try { $aiImageGenerationService->updatePendingTasks(); $this->info('任务状态检查完成'); } catch (\Exception $e) { $this->error('任务状态检查失败: ' . $e->getMessage()); return 1; } return 0; } }