Commit 5b2b1748 authored by rlgy's avatar rlgy

update

parent 9d14179d
...@@ -43,6 +43,7 @@ class BillJob extends BaseObject implements JobInterface ...@@ -43,6 +43,7 @@ class BillJob extends BaseObject implements JobInterface
if ($data) { if ($data) {
$model->height = $data['height'] ?? 0; $model->height = $data['height'] ?? 0;
if (isset($data['blocktime']) && !empty($data['blocktime'])) { if (isset($data['blocktime']) && !empty($data['blocktime'])) {
date_default_timezone_set('PRC');
$model->blocktime = date('Y-m-d H:i:s', $data['blocktime']); $model->blocktime = date('Y-m-d H:i:s', $data['blocktime']);
} }
} }
......
...@@ -9,6 +9,7 @@ $params = array_merge( ...@@ -9,6 +9,7 @@ $params = array_merge(
return [ return [
'id' => 'app-console', 'id' => 'app-console',
'basePath' => dirname(__DIR__), 'basePath' => dirname(__DIR__),
'timeZone' => 'Etc/GMT-8',
'bootstrap' => [ 'bootstrap' => [
'log', 'log',
'queue' 'queue'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment