作者 lyh

GXgeo设置

@@ -80,8 +80,10 @@ class GeoQuestionRes extends Command @@ -80,8 +80,10 @@ class GeoQuestionRes extends Command
80 $url = array_column($result_data['annotations'], 'url'); 80 $url = array_column($result_data['annotations'], 'url');
81 $title = array_column($result_data['annotations'], 'title'); 81 $title = array_column($result_data['annotations'], 'title');
82 $result_data_annotations = array_merge($url,$title,$result_data_annotations); 82 $result_data_annotations = array_merge($url,$title,$result_data_annotations);
  83 + dd($result_data_annotations);
  84 + }else{
  85 + continue;
83 } 86 }
84 - dd($result_data_annotations);  
85 $keywords = $this->getKeywords($keywordArr,$result_data_annotations ?? []); 87 $keywords = $this->getKeywords($keywordArr,$result_data_annotations ?? []);
86 $urls = $this->getUrl($urlArr,$result_data_annotations ?? []); 88 $urls = $this->getUrl($urlArr,$result_data_annotations ?? []);
87 } 89 }