Showing
1 changed file
with
3 additions
and
0 deletions
| @@ -10,6 +10,9 @@ class Basicinfo extends Common | @@ -10,6 +10,9 @@ class Basicinfo extends Common | ||
| 10 | if(Request::isAjax()) { | 10 | if(Request::isAjax()) { |
| 11 | $list= file_get_contents(ON_LINE.'App.Prints.QueryPrintsList'); | 11 | $list= file_get_contents(ON_LINE.'App.Prints.QueryPrintsList'); |
| 12 | $array = json_decode($list,TRUE); | 12 | $array = json_decode($list,TRUE); |
| 13 | + foreach ($array['data'] as $key => $value) { | ||
| 14 | + $array['data'][$key]['cdate'] = date('Y-m-d H:i:s',$value['cdate']); | ||
| 15 | + } | ||
| 13 | return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1]; | 16 | return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1]; |
| 14 | } | 17 | } |
| 15 | $this->assign('title','打印机型号列表'); | 18 | $this->assign('title','打印机型号列表'); |
-
Please register or login to post a comment