正在显示
2 个修改的文件
包含
0 行增加
和
7 行删除
| @@ -103,7 +103,6 @@ class GoogleSearchKeyword extends Command | @@ -103,7 +103,6 @@ class GoogleSearchKeyword extends Command | ||
| 103 | 'position'=>$val['position'], | 103 | 'position'=>$val['position'], |
| 104 | ]; | 104 | ]; |
| 105 | } | 105 | } |
| 106 | - | ||
| 107 | if(!empty($saveData)){ | 106 | if(!empty($saveData)){ |
| 108 | DB::beginTransaction(); | 107 | DB::beginTransaction(); |
| 109 | try { | 108 | try { |
| @@ -97,12 +97,6 @@ class GoogleSearchService | @@ -97,12 +97,6 @@ class GoogleSearchService | ||
| 97 | return []; | 97 | return []; |
| 98 | } | 98 | } |
| 99 | $data = $data['data'] ?? []; | 99 | $data = $data['data'] ?? []; |
| 100 | - if(!empty($data) && ($search == 5)){ | ||
| 101 | - foreach ($data as $key => $val){ | ||
| 102 | - $val['keys_country'] = Country::getCountryNameByAlpha3(strtoupper($val['keys'][0])); | ||
| 103 | - $data[$key] = $val; | ||
| 104 | - } | ||
| 105 | - } | ||
| 106 | return $data; | 100 | return $data; |
| 107 | } | 101 | } |
| 108 | } | 102 | } |
-
请 注册 或 登录 后发表评论