合并分支 'zhl' 到 'master'
log 查看合并请求 !2410
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -77,6 +77,7 @@ class GeoQuestionRes extends Command | @@ -77,6 +77,7 @@ class GeoQuestionRes extends Command | ||
| 77 | $geoLogModel = new GeoQuestionLog(); | 77 | $geoLogModel = new GeoQuestionLog(); |
| 78 | foreach ($taskInfo['question'] as $question) { | 78 | foreach ($taskInfo['question'] as $question) { |
| 79 | $en_question = Translate::tran($question, 'zh') ?? ''; | 79 | $en_question = Translate::tran($question, 'zh') ?? ''; |
| 80 | + $this->output('项目ID:' . $taskInfo['project_id'] . ', 问题 开始:' . $question); | ||
| 80 | foreach ($platformsArr as $platform) { | 81 | foreach ($platformsArr as $platform) { |
| 81 | $data = $hit_data = []; | 82 | $data = $hit_data = []; |
| 82 | $error_num = 0; | 83 | $error_num = 0; |
| @@ -84,10 +85,10 @@ class GeoQuestionRes extends Command | @@ -84,10 +85,10 @@ class GeoQuestionRes extends Command | ||
| 84 | GET_RESULT: | 85 | GET_RESULT: |
| 85 | $error_num++; | 86 | $error_num++; |
| 86 | try { | 87 | try { |
| 87 | - $this->output('执行时间:'.date('Y-m-d H:i:s').'->执行次数:'.$error_num.',执行平台:'.$platform.'执行的项目id:'.$taskInfo['project_id'].PHP_EOL); | ||
| 88 | if ($error_num >= 3) { | 88 | if ($error_num >= 3) { |
| 89 | continue; | 89 | continue; |
| 90 | } | 90 | } |
| 91 | + $this->output('执行平台:' . $platform . '执行次数:' . $error_num); | ||
| 91 | switch ($platform){ | 92 | switch ($platform){ |
| 92 | case 'google_ai_overview': | 93 | case 'google_ai_overview': |
| 93 | // overview 数据结构不确定, 需要单独处理数据 | 94 | // overview 数据结构不确定, 需要单独处理数据 |
-
请 注册 或 登录 后发表评论