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']);
}
}
......
......@@ -7,18 +7,19 @@ $params = array_merge(
);
return [
'id' => 'app-console',
'basePath' => dirname(__DIR__),
'bootstrap' => [
'id' => 'app-console',
'basePath' => dirname(__DIR__),
'timeZone' => 'Etc/GMT-8',
'bootstrap' => [
'log',
'queue'
],
'controllerNamespace' => 'console\controllers',
'aliases' => [
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
'components' => [
],
'params' => $params,
'params' => $params,
];
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