修改无效时间错误BUG

dev
曾超新 5 years ago
parent f315c070ec
commit f6aa1e9ccb
  1. 2
      common/config/main.php
  2. 2
      frontend/controllers/DatabaseController.php

@ -6,5 +6,5 @@ return [
'class' => 'yii\caching\FileCache',
],
],
'timeZone' => 'Asia/Chongqing',
'timeZone' => 'Asia/Shanghai',
];

@ -2385,7 +2385,7 @@ class DatabaseController extends BaseController
$row['car_man'] = MyLib::substr_cut($car_info->car_man, 8);
$row['op_user'] = $item->user?$item->user->getShowName():'';
$row['invalid_info'] = $item->invalid->getPath();
$row['invalid_time'] = $item->invalid->created_at;
$row['invalid_time'] = $item->created_at;
$data['rows'][] = $row;
}
return $data;

Loading…
Cancel
Save