From f70b63d5f3644f4983c71ef59b7a48c115b72f1d Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Wed, 09 May 2018 15:45:59 +0800
Subject: [PATCH] bug

---
 application/modules/Public/controllers/Data.php |   21 ++++-----------------
 1 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/application/modules/Public/controllers/Data.php b/application/modules/Public/controllers/Data.php
index 6f13a80..05f1968 100644
--- a/application/modules/Public/controllers/Data.php
+++ b/application/modules/Public/controllers/Data.php
@@ -33,23 +33,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, $time_level)){
-				if($data_three_hourly_service->summary($day, $time_level)){
-					echo "������������";
-				}
-				else{
-					echo "������������";
-				}
-			}
-			else{
-				echo '������������������������������';
-			}
-			
+		public function HourlyAction(){
+			$task_service = new Service_Task();
+			//$day = $this->get('day', date('Y-m-d'));
+			$task_service->summary();	
 			die();
 			
 		}

--
Gitblit v1.8.0