|
...
|
...
|
@@ -52,6 +52,7 @@ class RankData extends BaseCommands |
|
|
|
if (!$model || $model->updated_date != date('Y-m-d')) {
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export('测试-----22223', true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$res = $api->getGoogleRank($item['api_no']);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
if(!$res){
|
|
|
|
$error++;
|
|
|
|
continue;
|
...
|
...
|
|