作者 lyh

gx

... ... @@ -50,7 +50,7 @@ class RankData extends BaseCommands
$model = GoogleRankModel::where('project_id', $item['project_id'])->where('lang', '')->first();
@file_put_contents(storage_path('logs/lyh_error.log'), var_export('测试-----2222', true) . PHP_EOL, FILE_APPEND);
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);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($item['api_no'], 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){
... ...