chengwl %!s(int64=4) %!d(string=hai) anos
pai
achega
636bb0c720
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      controllers/IndexController.php

+ 1 - 0
controllers/IndexController.php

@@ -28,6 +28,7 @@ class IndexController extends \app\controllers\HomeController
         $storeSellData=$ga->storeSellData($store,$start_day,$end_day,'week');
         $storeSellData=$ga->storeSellData($store,$start_day,$end_day,'week');
         foreach($storeSellData as $v){
         foreach($storeSellData as $v){
            $timestr=$v['year']."W".$v['week'];    
            $timestr=$v['year']."W".$v['week'];    
+           echo $v['week']."<br/>";
            $time=date("Y-m-d",\strtotime($timestr));       
            $time=date("Y-m-d",\strtotime($timestr));       
            echo $time."<br/>";
            echo $time."<br/>";