From 8726fcec1bc80b2edf8bbca3e2e9ec2d5b60f824 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Wed, 09 May 2018 15:42:02 +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