Showing
2 changed files
with
4 additions
and
1 deletions
| @@ -98,6 +98,10 @@ class Area extends Common | @@ -98,6 +98,10 @@ class Area extends Common | ||
| 98 | //获取运营人员列表 | 98 | //获取运营人员列表 |
| 99 | $list= file_get_contents(ON_LINE.'App.Agent.getAgentOperate&areaid=2'); | 99 | $list= file_get_contents(ON_LINE.'App.Agent.getAgentOperate&areaid=2'); |
| 100 | $array = json_decode($list,TRUE); | 100 | $array = json_decode($list,TRUE); |
| 101 | + foreach ($array['data'] as $key => $value) { | ||
| 102 | + $array['data'][$key]['cdate'] = date("Y-m-d H:i:s",$value['cdate']); | ||
| 103 | + | ||
| 104 | + } | ||
| 101 | return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total'] | 105 | return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total'] |
| 102 | } | 106 | } |
| 103 | $this->assign ( 'title','代理商管理'); | 107 | $this->assign ( 'title','代理商管理'); |
| @@ -24,7 +24,6 @@ | @@ -24,7 +24,6 @@ | ||
| 24 | ,{field:'sub_openid', title: '运营授权ID', width:280,fixed: true} | 24 | ,{field:'sub_openid', title: '运营授权ID', width:280,fixed: true} |
| 25 | ,{field:'openid', title: '微信openid', width:270} | 25 | ,{field:'openid', title: '微信openid', width:270} |
| 26 | ,{field:'account', title: '运营账号', width:120} | 26 | ,{field:'account', title: '运营账号', width:120} |
| 27 | - ,{field:'level', title: '用户身份',width:120} | ||
| 28 | ,{field:'cdate', title: '加入时间',width:180} | 27 | ,{field:'cdate', title: '加入时间',width:180} |
| 29 | ,{width:160,title: '操作', align:'center', toolbar: '#barDemo'} | 28 | ,{width:160,title: '操作', align:'center', toolbar: '#barDemo'} |
| 30 | ]] | 29 | ]] |
-
Please register or login to post a comment