正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -57,7 +57,7 @@ class AiBlogTask extends Command | @@ -57,7 +57,7 @@ class AiBlogTask extends Command | ||
| 57 | $aiBlogService->key = $aiSettingInfo['key']; | 57 | $aiBlogService->key = $aiSettingInfo['key']; |
| 58 | $aiBlogService->task_id = $item['task_id']; | 58 | $aiBlogService->task_id = $item['task_id']; |
| 59 | $result = $aiBlogService->getDetail(); | 59 | $result = $aiBlogService->getDetail(); |
| 60 | - if($result['status'] != 200){ | 60 | + if(!isset($result['status']) || $result['status'] != 200){ |
| 61 | sleep(5); | 61 | sleep(5); |
| 62 | continue; | 62 | continue; |
| 63 | } | 63 | } |
-
请 注册 或 登录 后发表评论