作者 lyh

gx

... ... @@ -103,7 +103,6 @@ class GoogleSearchKeyword extends Command
'position'=>$val['position'],
];
}
if(!empty($saveData)){
DB::beginTransaction();
try {
... ...
... ... @@ -97,12 +97,6 @@ class GoogleSearchService
return [];
}
$data = $data['data'] ?? [];
if(!empty($data) && ($search == 5)){
foreach ($data as $key => $val){
$val['keys_country'] = Country::getCountryNameByAlpha3(strtoupper($val['keys'][0]));
$data[$key] = $val;
}
}
return $data;
}
}
... ...