作者 lyh

gx

@@ -146,17 +146,6 @@ class ComController extends BaseController @@ -146,17 +146,6 @@ class ComController extends BaseController
146 public function ceshi(){ 146 public function ceshi(){
147 $from = new FormGlobalsoApi(); 147 $from = new FormGlobalsoApi();
148 $list = $from->getInquiryList('https://demomark.globalso.com/','',1,100000000); 148 $list = $from->getInquiryList('https://demomark.globalso.com/','',1,100000000);
149 - $data = $list['data']['data'];  
150 - $arr = [];  
151 - foreach ($data as $k => $v){  
152 - if(isset($arr[$v['country']])){  
153 - $arr[$v['country']]++;  
154 - }else{  
155 - $arr[$v['country']] = 0;  
156 - }  
157 - }  
158 - arsort($arr);  
159 - $top20 = array_slice($arr, 0, 20, true);  
160 - return $top20; 149 + return $list;
161 } 150 }
162 } 151 }