feat: add comprehensive dashboard showing all analysis metrics in one view
This commit is contained in:
@@ -446,5 +446,21 @@ class History extends Model
|
||||
return ['all' => $all];
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合统计面板
|
||||
*/
|
||||
public function getDashboardData($periods = 30, $type = 'all')
|
||||
{
|
||||
return [
|
||||
'hotcold' => $this->getHotColdNumbers($periods, $type),
|
||||
'colorwave' => $this->getColorWaveAnalysis($periods, $type),
|
||||
'zodiac' => $this->getZodiacAnalysis($periods, $type),
|
||||
'oddeven' => $this->getOddEvenAnalysis($periods, $type),
|
||||
'bigsmall' => $this->getBigSmallAnalysis($periods, $type),
|
||||
'sum' => $this->getSumAnalysis($periods),
|
||||
'tailnumbers' => $this->getTailNumbers($periods, $type)
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user