Showing
1 changed file
with
2 additions
and
3 deletions
| @@ -27,9 +27,8 @@ class Area extends Common | @@ -27,9 +27,8 @@ class Area extends Common | ||
| 27 | $limit = '&x='.$data["page"].'&y='.$data["limit"].'&areaid='.@$key['id'].'&channel=4&address='.$address.'&prov='.$prov.'&city='.$city.'&area='.$area; | 27 | $limit = '&x='.$data["page"].'&y='.$data["limit"].'&areaid='.@$key['id'].'&channel=4&address='.$address.'&prov='.$prov.'&city='.$city.'&area='.$area; |
| 28 | 28 | ||
| 29 | //获取运营人员列表 | 29 | //获取运营人员列表 |
| 30 | - $list= file_get_contents(ON_LINE.'App.Agent.GetSellerList'.$limit); | 30 | + $list= file_get_contents(ON_LINE.'App.Agent.getSellerList'.$limit); |
| 31 | $array = json_decode($list,TRUE); | 31 | $array = json_decode($list,TRUE); |
| 32 | - print_R($array);die; | ||
| 33 | foreach ($array['data'] as $key => $value) { | 32 | foreach ($array['data'] as $key => $value) { |
| 34 | $array['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); | 33 | $array['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); |
| 35 | if($value['status']==1) | 34 | if($value['status']==1) |
| @@ -57,7 +56,7 @@ class Area extends Common | @@ -57,7 +56,7 @@ class Area extends Common | ||
| 57 | } | 56 | } |
| 58 | return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'count'=>$array['data']['total'],'rel'=>1]; | 57 | return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'count'=>$array['data']['total'],'rel'=>1]; |
| 59 | } | 58 | } |
| 60 | - $this->assign ( 'title','商户基本信息维护'); | 59 | + $this->assign ( 'title','区域内商户维护'); |
| 61 | return $this->fetch(); | 60 | return $this->fetch(); |
| 62 | } | 61 | } |
| 63 | 62 |
-
Please register or login to post a comment