正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -59,7 +59,7 @@ class RankData extends BaseCommands | @@ -59,7 +59,7 @@ class RankData extends BaseCommands | ||
| 59 | 59 | ||
| 60 | $this->save_rank($item['project_id'], $res, $indexed_pages_num); | 60 | $this->save_rank($item['project_id'], $res, $indexed_pages_num); |
| 61 | } | 61 | } |
| 62 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('1111111111', true) . PHP_EOL, FILE_APPEND); | 62 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($error, true) . PHP_EOL, FILE_APPEND); |
| 63 | //有小语种的 | 63 | //有小语种的 |
| 64 | $lang_list = $api->getLangList(); | 64 | $lang_list = $api->getLangList(); |
| 65 | if(!empty($lang_list[$item['api_no']])){ | 65 | if(!empty($lang_list[$item['api_no']])){ |
| @@ -70,7 +70,7 @@ class RankData extends BaseCommands | @@ -70,7 +70,7 @@ class RankData extends BaseCommands | ||
| 70 | $error++; | 70 | $error++; |
| 71 | continue; | 71 | continue; |
| 72 | } | 72 | } |
| 73 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('2222', true) . PHP_EOL, FILE_APPEND); | 73 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($error, true) . PHP_EOL, FILE_APPEND); |
| 74 | $data = []; | 74 | $data = []; |
| 75 | //不同的小语种取出来 | 75 | //不同的小语种取出来 |
| 76 | foreach ($res as $keyword => $v){ | 76 | foreach ($res as $keyword => $v){ |
| @@ -82,7 +82,7 @@ class RankData extends BaseCommands | @@ -82,7 +82,7 @@ class RankData extends BaseCommands | ||
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } | 84 | } |
| 85 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('333333', true) . PHP_EOL, FILE_APPEND); | 85 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($error, true) . PHP_EOL, FILE_APPEND); |
| 86 | return !$error; | 86 | return !$error; |
| 87 | } | 87 | } |
| 88 | 88 |
-
请 注册 或 登录 后发表评论