Commit 63003806a5cf1eec0600ce565bd97d557ef98999

Authored by u123231312
1 parent 90fee9f8

no message

@@ -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','打印机型号列表');