Commit fb3982b7 authored by 刘小敏's avatar 刘小敏

数据中心优化

parent 0193fcfb
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
<i class="fa fa-bar-chart"></i> <i class="fa fa-bar-chart"></i>
数据统计中心 数据统计中心
</div> </div>
<div class="stats-center-time">实时业务数据监控 · 更新于 <span id="update-time">{:date('Y-m-d H:i:s')}</span></div> <div class="stats-center-time">实时业务数据监控 · 更新于 <span id="update-time"></span></div>
</div> </div>
<div class="header-right"> <div class="header-right">
<!-- <div class="data-status"> <!-- <div class="data-status">
......
...@@ -83,7 +83,7 @@ class DataStatsCenter extends Command ...@@ -83,7 +83,7 @@ class DataStatsCenter extends Command
} }
// 记录到自定义日志文件 // 记录到自定义日志文件
custom_log($message, 'stat', $level); custom_log($message, 'stat_center', $level);
} }
/** /**
...@@ -92,7 +92,7 @@ class DataStatsCenter extends Command ...@@ -92,7 +92,7 @@ class DataStatsCenter extends Command
* @param Input $input 输入参数 * @param Input $input 输入参数
* @param Output $output 输出对象 * @param Output $output 输出对象
*/ */
protected function execute(Input $input, Output $output) public function execute(Input $input, Output $output)
{ {
$this->output = $output; $this->output = $output;
$this->customLog('info', '========== 开始执行数据统计中心定时任务 =========='); $this->customLog('info', '========== 开始执行数据统计中心定时任务 ==========');
...@@ -129,7 +129,7 @@ class DataStatsCenter extends Command ...@@ -129,7 +129,7 @@ class DataStatsCenter extends Command
$this->customLog('info', '[' . date('Y-m-d H:i:s') . ']数据统计中心定时任务执行完成'); $this->customLog('info', '[' . date('Y-m-d H:i:s') . ']数据统计中心定时任务执行完成');
} catch (\Exception $e) { } catch (\Exception $e) {
// 记录异常日志并输出到控制台 // 记录异常日志并输出到控制台
format_log_error_custom_name($e, '[数据统计中心定时任务执行失败]', '', 'stat'); format_log_error_custom_name($e, '[数据统计中心定时任务执行失败]', '', 'stat_center');
} }
} }
......
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