Showing
1 changed file
with
5 additions
and
4 deletions
| @@ -64,6 +64,10 @@ class Area extends Common | @@ -64,6 +64,10 @@ class Area extends Common | ||
| 64 | * 商家list | 64 | * 商家list |
| 65 | */ | 65 | */ |
| 66 | public function agent(){ | 66 | public function agent(){ |
| 67 | + //获取运营人员列表 | ||
| 68 | + $list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit); | ||
| 69 | + $array = json_decode($list,TRUE); | ||
| 70 | + print_r($array);die; | ||
| 67 | if(Request::isAjax()){ | 71 | if(Request::isAjax()){ |
| 68 | $data = Request::except('file'); | 72 | $data = Request::except('file'); |
| 69 | $key= input('post.key') ? input('post.key') : ""; | 73 | $key= input('post.key') ? input('post.key') : ""; |
| @@ -76,10 +80,7 @@ class Area extends Common | @@ -76,10 +80,7 @@ class Area extends Common | ||
| 76 | 80 | ||
| 77 | $limit = '';#'&x='.$data["page"].'&y='.$data["limit"]; | 81 | $limit = '';#'&x='.$data["page"].'&y='.$data["limit"]; |
| 78 | 82 | ||
| 79 | - //获取运营人员列表 | ||
| 80 | - $list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit); | ||
| 81 | - $array = json_decode($list,TRUE); | ||
| 82 | - print_r($array);die; | 83 | + |
| 83 | /*foreach ($array['data'][0]['data'] as $key => $value) { | 84 | /*foreach ($array['data'][0]['data'] as $key => $value) { |
| 84 | $array['data'][0]['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); | 85 | $array['data'][0]['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); |
| 85 | 86 |
-
Please register or login to post a comment