bug
colly_wyx
2018-05-09 f70b63d5f3644f4983c71ef59b7a48c115b72f1d
application/modules/Public/controllers/Data.php
@@ -10,7 +10,8 @@
       */
      public function DailyAction(){
         $daily_service = new Service_Daily();
         $day = $this->get('day', date('Y-m-d'));
         $day = $this->get('day', date('Y-m-d', strtotime("-1 day")));
         echo $day;
         $dailyLog_service = new Service_DailyLog();
         if(strtotime($day) <= strtotime(date('Y-m-d', time()))){
            if(!$dailyLog_service->isSummary($day)){
@@ -31,6 +32,15 @@
         die();
      }
      public function HourlyAction(){
         $task_service = new Service_Task();
         //$day = $this->get('day', date('Y-m-d'));
         $task_service->summary();
         die();
      }
   }