|
...
|
...
|
@@ -79,11 +79,12 @@ class Area extends Common |
|
|
|
//获取运营人员列表
|
|
|
|
$list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit);
|
|
|
|
$array = json_decode($list,TRUE);
|
|
|
|
print_r($array);die;
|
|
|
|
/*foreach ($array['data'][0]['data'] as $key => $value) {
|
|
|
|
$array['data'][0]['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']);
|
|
|
|
|
|
|
|
}*/
|
|
|
|
return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'][0]['data'],'count'=>$array['data'][0]['total'],'rel'=>1];
|
|
|
|
return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'][0]['data'],'rel'=>1];#'count'=>$array['data'][0]['total']
|
|
|
|
}
|
|
|
|
$this->assign ( 'title','代理商管理');
|
|
|
|
return $this->fetch();
|
...
|
...
|
|