This commit is contained in:
kf_wuhao 2020-12-31 19:24:55 +08:00
parent b757da1d65
commit e8e8b97195

View File

@ -164,6 +164,7 @@ if ($act == 'newevent') {
$eventCount['总更新&总修复']['purpleCount'] += 1;
}
$gameName = $rs['game'];
$row = array(
'id' => $rs['id'],
@ -175,6 +176,11 @@ if ($act == 'newevent') {
$row['allDay'] = true;
$res[] = $row;
}
uasort($eventCount,function ($x,$y){
return $x['dangerCount']<$y['dangerCount'];
});
$eventCharts = array(array('product', '更新次数', '修复次数'));
$eventTable = array([], []);
foreach ($eventCount as $key => $value) {