feat(history): 添加历史记录模型和数据分析功能
- 创建History模型类,实现走势图、冷热号码、遗漏号码等分析方法 - 实现波色分析、生肖分析、奇偶分析、大小分析等统计功能 - 添加连号分析、尾数分析等彩票号码分析功能 - 实现综合统计面板数据获取方法 - 添加前端页面模板和按钮界面,支持多种分析功能调用 - 集成ECharts图表库用于数据可视化展示
This commit is contained in:
@@ -457,13 +457,13 @@ class History extends Model
|
||||
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),
|
||||
'hotcold' => $this->getHotColdNumbers($periods, 'special'),
|
||||
'colorwave' => $this->getColorWaveAnalysis($periods, 'special'),
|
||||
'zodiac' => $this->getZodiacAnalysis($periods, 'special'),
|
||||
'oddeven' => $this->getOddEvenAnalysis($periods, 'special'),
|
||||
'bigsmall' => $this->getBigSmallAnalysis($periods, 'special'),
|
||||
'special' => $this->getSpecialTrend($periods),
|
||||
'tailnumbers' => $this->getTailNumbers($periods, $type)
|
||||
'tailnumbers' => $this->getTailNumbers($periods, 'special')
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user