|
...
|
...
|
@@ -26,7 +26,7 @@ class GoogleKeywordInsightDetail extends Base |
|
|
|
public function saveInsightDetail($project_id,$keyword,$data){
|
|
|
|
$saveData = [];
|
|
|
|
$textArr = array_column($data, 'text');
|
|
|
|
$transData = $this->translateZh($textArr);
|
|
|
|
$transData = Translate::tran($textArr, 'zh');
|
|
|
|
foreach ($data as $key => $val){
|
|
|
|
$saveData[] = [
|
|
|
|
'search'=>$keyword,
|
...
|
...
|
|