正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -48,10 +48,10 @@ class RankData extends BaseCommands | @@ -48,10 +48,10 @@ class RankData extends BaseCommands | ||
| 48 | } | 48 | } |
| 49 | foreach ($list as $item){ | 49 | foreach ($list as $item){ |
| 50 | $model = GoogleRankModel::where('project_id', $item['project_id'])->where('lang', '')->first(); | 50 | $model = GoogleRankModel::where('project_id', $item['project_id'])->where('lang', '')->first(); |
| 51 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('测试-----2222'.$model, true) . PHP_EOL, FILE_APPEND); | 51 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('测试-----2222', true) . PHP_EOL, FILE_APPEND); |
| 52 | die(); | 52 | die(); |
| 53 | if (!$model || $model->updated_date != date('Y-m-d')) { | 53 | if (!$model || $model->updated_date != date('Y-m-d')) { |
| 54 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('测试-----2222', true) . PHP_EOL, FILE_APPEND); | 54 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('测试-----22223', true) . PHP_EOL, FILE_APPEND); |
| 55 | $res = $api->getGoogleRank($item['api_no']); | 55 | $res = $api->getGoogleRank($item['api_no']); |
| 56 | if(!$res){ | 56 | if(!$res){ |
| 57 | $error++; | 57 | $error++; |
-
请 注册 或 登录 后发表评论