作者 lyh

gx脚本导出产品

... ... @@ -52,7 +52,8 @@ class AiBlogTask extends Command
$aiBlogService->key = $aiSettingInfo['key'];
$aiBlogService->task_id = $info['task_id'];
$result = $aiBlogService->getDetail();
if($result['status'] != 200){
echo '开始->任务id:' . json_encode($result) . PHP_EOL . date('Y-m-d H:i:s');
if(!isset($result['status']) || $result['status'] != 200){
sleep(10);
continue;
}
... ...