Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -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 | } |
-
Please register or login to post a comment