From 6e54c31df658795ec830fc93a26cd6e3d910e2ef Mon Sep 17 00:00:00 2001 From: colly_wyx <wangyixiong_007@163.com> Date: Fri, 20 Apr 2018 10:29:45 +0800 Subject: [PATCH] 修正函数方法参数 --- application/modules/Public/controllers/Data.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/application/modules/Public/controllers/Data.php b/application/modules/Public/controllers/Data.php index ad40247..6f13a80 100644 --- a/application/modules/Public/controllers/Data.php +++ b/application/modules/Public/controllers/Data.php @@ -36,9 +36,10 @@ public function ThreeHourlyAction(){ $data_three_hourly_service = new Service_DataThreeHourly(); $day = $this->get('day', date('Y-m-d')); + $time_level = $this->get('time_level', 0); echo $day; - if(!$data_three_hourly_service->isSummary($day)){ - if($data_three_hourly_service->summary($day)){ + if(!$data_three_hourly_service->isSummary($day, $time_level)){ + if($data_three_hourly_service->summary($day, $time_level)){ echo "������������"; } else{ -- Gitblit v1.8.0