Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -79,11 +79,12 @@ class Area extends Common | @@ -79,11 +79,12 @@ class Area extends Common | ||
| 79 | //获取运营人员列表 | 79 | //获取运营人员列表 |
| 80 | $list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit); | 80 | $list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit); |
| 81 | $array = json_decode($list,TRUE); | 81 | $array = json_decode($list,TRUE); |
| 82 | + print_r($array);die; | ||
| 82 | /*foreach ($array['data'][0]['data'] as $key => $value) { | 83 | /*foreach ($array['data'][0]['data'] as $key => $value) { |
| 83 | $array['data'][0]['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); | 84 | $array['data'][0]['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); |
| 84 | 85 | ||
| 85 | }*/ | 86 | }*/ |
| 86 | - return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'][0]['data'],'count'=>$array['data'][0]['total'],'rel'=>1]; | 87 | + return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'][0]['data'],'rel'=>1];#'count'=>$array['data'][0]['total'] |
| 87 | } | 88 | } |
| 88 | $this->assign ( 'title','代理商管理'); | 89 | $this->assign ( 'title','代理商管理'); |
| 89 | return $this->fetch(); | 90 | return $this->fetch(); |
-
Please register or login to post a comment