作者 lyh

gx

@@ -146,14 +146,14 @@ class ComController extends BaseController @@ -146,14 +146,14 @@ 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 - $arr = [];  
150 - foreach ($list['data'] as $k => $v){  
151 - if(isset($arr[$v['country']])){  
152 - $arr[$v['country']]['num']++;  
153 - }else{  
154 - $arr[$v['country']]['num'] = 0;  
155 - }  
156 - } 149 +// $arr = [];
  150 +// foreach ($list['data'] as $k => $v){
  151 +// if(isset($arr[$v['country']])){
  152 +// $arr[$v['country']]['num']++;
  153 +// }else{
  154 +// $arr[$v['country']]['num'] = 0;
  155 +// }
  156 +// }
157 $this->response('success',Code::SUCCESS,$list); 157 $this->response('success',Code::SUCCESS,$list);
158 } 158 }
159 } 159 }