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 | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/application/modules/Public/controllers/Data.php b/application/modules/Public/controllers/Data.php
index e2bc821..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{
@@ -53,6 +54,6 @@
}
-
+ }
\ No newline at end of file
--
Gitblit v1.8.0