Commit 890b9917f80d588cba006765a7664710b32bc49e

Authored by pengye
1 parent c1d9a6ee

no message

@@ -84,8 +84,8 @@ class Area extends Common @@ -84,8 +84,8 @@ class Area extends Common
84 $limit = '&agent_name='.@$key['id']; 84 $limit = '&agent_name='.@$key['id'];
85 85
86 //获取运营人员列表 86 //获取运营人员列表
87 - $list= file_get_contents(ON_LINE.'App.Agent.GetAgentList'.$limit);  
88 - print_r($list);die; 87 + $list= file_get_contents(ON_LINE.'App.Agent.GetAgentList'.$limit,false,array('ssl'=>array('verify_peer' => false,'verify_peer_name' => false)));
  88 +
89 $array = json_decode($list,TRUE); 89 $array = json_decode($list,TRUE);
90 return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total'] 90 return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total']
91 } 91 }