From 54dd2fe5ad916a2d7e741f0be6a21626801b758d Mon Sep 17 00:00:00 2001 From: leon <916117771@qq.com> Date: Wed, 22 Apr 2026 21:22:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(history):=20=E6=B7=BB=E5=8A=A0=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=A8=A1=E5=9E=8B=E5=92=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=88=86=E6=9E=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 创建History模型类,实现走势图、冷热号码、遗漏号码等分析方法 - 实现波色分析、生肖分析、奇偶分析、大小分析等统计功能 - 添加连号分析、尾数分析等彩票号码分析功能 - 实现综合统计面板数据获取方法 - 添加前端页面模板和按钮界面,支持多种分析功能调用 - 集成ECharts图表库用于数据可视化展示 --- application/admin/model/History.php | 12 ++++++------ application/admin/view/history/index.html | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/application/admin/model/History.php b/application/admin/model/History.php index 70d4c41..18adc27 100644 --- a/application/admin/model/History.php +++ b/application/admin/model/History.php @@ -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') ]; } diff --git a/application/admin/view/history/index.html b/application/admin/view/history/index.html index 44ff12c..8754be8 100644 --- a/application/admin/view/history/index.html +++ b/application/admin/view/history/index.html @@ -11,13 +11,13 @@ {:__('Trend Chart')} {:__('Hot/Cold Analysis')} {:__('Color Wave')} - {:__('Zodiac')} + {:__('Zodiac')} {:__('Odd/Even')} {:__('Big/Small')} - {:__('Sum Chart')} - {:__('Consecutive')} + {:__('Sum Chart')} + {:__('Consecutive')} {:__('Tail Numbers')} - {:__('Dashboard')} +