Commit c134598cbaa5b65ae8b3fce9c23fc417cfdddb59

Authored by pengye
1 parent 370579f7

no message

... ... @@ -64,10 +64,6 @@ class Area extends Common
* 商家list
*/
public function agent(){
//获取运营人员列表
$list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit);
$array = json_decode($list,TRUE);
print_r($array);die;
if(Request::isAjax()){
$data = Request::except('file');
$key= input('post.key') ? input('post.key') : "";
... ... @@ -80,12 +76,14 @@ class Area extends Common
$limit = '';#'&x='.$data["page"].'&y='.$data["limit"];
//获取运营人员列表
$list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit);
$array = json_decode($list,TRUE);
/*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'],'rel'=>1];#'count'=>$array['data'][0]['total']
return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total']
}
$this->assign ( 'title','代理商管理');
return $this->fetch();
... ...