Commit 5b2b1748 authored by rlgy's avatar rlgy

update

parent 9d14179d
......@@ -43,6 +43,7 @@ class BillJob extends BaseObject implements JobInterface
if ($data) {
$model->height = $data['height'] ?? 0;
if (isset($data['blocktime']) && !empty($data['blocktime'])) {
date_default_timezone_set('PRC');
$model->blocktime = date('Y-m-d H:i:s', $data['blocktime']);
}
}
......
......@@ -9,6 +9,7 @@ $params = array_merge(
return [
'id' => 'app-console',
'basePath' => dirname(__DIR__),
'timeZone' => 'Etc/GMT-8',
'bootstrap' => [
'log',
'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