时间格式bug
This commit is contained in:
parent
ae84b354cb
commit
539d3609a5
@ -260,7 +260,7 @@ class Api extends BaseController
|
||||
->limit(10)
|
||||
->select()->toArray();
|
||||
foreach ($list as $key => $val) {
|
||||
$list[$key]['last_login_time'] = date('Y-m-d :h:m:s', $val['last_login_time']);
|
||||
$list[$key]['last_login_time'] = date('Y-m-d :H:i:s', $val['last_login_time']);
|
||||
}
|
||||
$res['data'] = $list;
|
||||
return table_assign(0, '', $res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user