|
...
|
...
|
@@ -80,22 +80,12 @@ class Area extends Common |
|
|
|
if(Request::isAjax()){
|
|
|
|
$data = Request::except('file');
|
|
|
|
$key= input('post.key') ? input('post.key') : "";
|
|
|
|
$channel = @$key['channel'] ? @$key['channel'] : 1;
|
|
|
|
|
|
|
|
$address = @$key['address'] ? @$key['address'] : '';
|
|
|
|
$prov = @$key['prov'] ? @$key['prov'] : '';
|
|
|
|
$city = @$key['city'] ? @$key['city'] : '';
|
|
|
|
$area = @$key['area'] ? @$key['area'] : '';
|
|
|
|
|
|
|
|
$limit = '';#'&x='.$data["page"].'&y='.$data["limit"];
|
|
|
|
$limit = '&agent_name='.@$key['id'];
|
|
|
|
|
|
|
|
//获取运营人员列表
|
|
|
|
$list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$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'],'rel'=>1];#'count'=>$array['data'][0]['total']
|
|
|
|
}
|
|
|
|
$this->assign ( 'title','代理商管理');
|
...
|
...
|
|