作者 lyh

GX生成白帽报表脚本

@@ -57,12 +57,11 @@ class GeoQuestionRes extends Command @@ -57,12 +57,11 @@ class GeoQuestionRes extends Command
57 echo date('Y-m-d H:i:s').'请求平台为空。'.PHP_EOL; 57 echo date('Y-m-d H:i:s').'请求平台为空。'.PHP_EOL;
58 continue; 58 continue;
59 } 59 }
60 - dd(111);  
61 - echo '123'.json_encode($platformArr).PHP_EOL;  
62 $geoService = new GeoService(); 60 $geoService = new GeoService();
63 $keywordArr = $info['keywords'] ?? []; 61 $keywordArr = $info['keywords'] ?? [];
64 $urlArr = $info['url'] ?? []; 62 $urlArr = $info['url'] ?? [];
65 $geoResultModel = new GeoQuestionResult(); 63 $geoResultModel = new GeoQuestionResult();
  64 + dd(22222222);
66 foreach ($questionArr as $q_item){ 65 foreach ($questionArr as $q_item){
67 foreach ($platformArr as $p_item){ 66 foreach ($platformArr as $p_item){
68 $keywords = [];//命中的关键词 67 $keywords = [];//命中的关键词