|
@@ -80,22 +80,12 @@ class Area extends Common |
|
@@ -80,22 +80,12 @@ class Area extends Common |
|
80
|
if(Request::isAjax()){
|
80
|
if(Request::isAjax()){
|
|
81
|
$data = Request::except('file');
|
81
|
$data = Request::except('file');
|
|
82
|
$key= input('post.key') ? input('post.key') : "";
|
82
|
$key= input('post.key') ? input('post.key') : "";
|
|
83
|
- $channel = @$key['channel'] ? @$key['channel'] : 1;
|
|
|
|
84
|
|
83
|
|
|
85
|
- $address = @$key['address'] ? @$key['address'] : '';
|
|
|
|
86
|
- $prov = @$key['prov'] ? @$key['prov'] : '';
|
|
|
|
87
|
- $city = @$key['city'] ? @$key['city'] : '';
|
|
|
|
88
|
- $area = @$key['area'] ? @$key['area'] : '';
|
|
|
|
89
|
-
|
|
|
|
90
|
- $limit = '';#'&x='.$data["page"].'&y='.$data["limit"];
|
84
|
+ $limit = '&agent_name='.@$key['id'];
|
|
91
|
|
85
|
|
|
92
|
//获取运营人员列表
|
86
|
//获取运营人员列表
|
|
93
|
- $list= file_get_contents(ON_LINE.'App.Agent.getAgentList'.$limit);
|
87
|
+ $list= file_get_contents(ON_LINE.'App.Agent.GetAgentList'.$limit);
|
|
94
|
$array = json_decode($list,TRUE);
|
88
|
$array = json_decode($list,TRUE);
|
|
95
|
- /*foreach ($array['data'][0]['data'] as $key => $value) {
|
|
|
|
96
|
- $array['data'][0]['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']);
|
|
|
|
97
|
-
|
|
|
|
98
|
- }*/
|
|
|
|
99
|
return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total']
|
89
|
return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total']
|
|
100
|
}
|
90
|
}
|
|
101
|
$this->assign ( 'title','代理商管理');
|
91
|
$this->assign ( 'title','代理商管理');
|